{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    " ![](http://onm3nv9z1.bkt.clouddn.com/%E5%AE%BD%E5%9B%BE-1205x420.jpg)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# Python测验20题（完整答案）"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### - 1.以下为学习Python的第一个程序，即如何输出\"Hello World!\"；\n",
    "  \n",
    "代码如下："
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Hello World!\n"
     ]
    }
   ],
   "source": [
    "# 该实例输出 Hello World!\n",
    "print('Hello World!')"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### - 2.利用Python求和； 以下为通过用户输入两个数字，并计算两个数字之和。\n",
    "\n",
    "代码如下："
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "输入第一个数字：2\n",
      "输入第二个数字：3\n",
      "数字 2 和 3 相加结果为： 5.0\n"
     ]
    }
   ],
   "source": [
    " # 用户输入数字\n",
    "num1 = input('输入第一个数字：')\n",
    "num2 = input('输入第二个数字：')\n",
    " \n",
    "# 求和\n",
    "sum = float(num1) + float(num2)\n",
    " \n",
    "# 显示计算结果\n",
    "print('数字 {0} 和 {1} 相加结果为： {2}'.format(num1, num2, sum))"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "##### 提示：在该实例中，我们通过用户输入两个数字来求和。使用了内置函数 input() 来获取用户的输入，input() 返回一个字符串，所以我们需要使用 float() 方法将字符串转换为数字。 两数字运算，求和我们使用了加号 (+)运算符，除此外，还有 减号 (-), 乘号 （*），除号（/），地板除 (//) 或 取余 (%)。\n",
    "\n",
    "我们还可以将以上运算，合并为一行代码哦！你可以尝试一下："
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "输入第一个数字：3\n",
      "输入第二个数字：4\n",
      "两数之和为 7.0\n"
     ]
    }
   ],
   "source": [
    " print('两数之和为 %.1f' %(float(input('输入第一个数字：'))+float(input('输入第二个数字：'))))"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### - 3.利用Python求平方根。 通过用户输入一个数字，并计算这个数字的平方根：\n",
    "\n",
    "平方根，又叫二次方根，表示为〔√￣〕，如：数学语言为：√￣16=4。语言描述为：根号下16=4。\n",
    "代码如下："
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "请输入一个数字： 4\n",
      " 4.000 的平方根为 2.000\n"
     ]
    }
   ],
   "source": [
    "num = float(input('请输入一个数字： '))\n",
    "num_sqrt = num ** 0.5\n",
    "print(' %0.3f 的平方根为 %0.3f'%(num ,num_sqrt))"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "##### 提示：在该实例中，我们通过用户输入一个数字，并使用指数运算符 ** 来计算改数的平方根。\n",
    "\n",
    "思考：以上程序只适用于正数。负数和复数应该怎样实现呢？"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "请输入一个数字: 10\n",
      "10 的平方根为 3.162+0.000j\n"
     ]
    }
   ],
   "source": [
    "# 计算实数和复数平方根\n",
    "# 导入复数数学模块\n",
    " \n",
    "import cmath\n",
    " \n",
    "num = int(input(\"请输入一个数字: \"))\n",
    "num_sqrt = cmath.sqrt(num)\n",
    "print('{0} 的平方根为 {1:0.3f}+{2:0.3f}j'.format(num ,num_sqrt.real,num_sqrt.imag))"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### - 4.利用Python求二次方程。 以下为通过用户输入数字，并计算二次方程；\n",
    "\n",
    "代码如下："
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "输入 a: 2\n",
      "输入 b: 3\n",
      "输入 c: 4\n",
      "结果为 (-0.75-1.1989578808281798j) 和 (-0.75+1.1989578808281798j)\n"
     ]
    }
   ],
   "source": [
    " # 二次方程式 ax**2 + bx + c = 0\n",
    "# a、b、c 用户提供\n",
    " \n",
    "# 导入 cmath(复杂数学运算) 模块\n",
    "import cmath\n",
    " \n",
    "a = float(input('输入 a: '))\n",
    "b = float(input('输入 b: '))\n",
    "c = float(input('输入 c: '))\n",
    " \n",
    "# 计算\n",
    "d = (b**2) - (4*a*c)\n",
    " \n",
    "# 两种求解方式\n",
    "sol1 = (-b-cmath.sqrt(d))/(2*a)\n",
    "sol2 = (-b+cmath.sqrt(d))/(2*a)\n",
    " \n",
    "print('结果为 {0} 和 {1}'.format(sol1,sol2))"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### - 5.利用Python求三角形的面积。以下为通过用户输入三角形三边长度，并计算三角形的面积；\n",
    "\n",
    "代码如下："
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "输入三角形第一边长：5\n",
      "输入三角形第二边长：6\n",
      "输入三角形第三边长：7\n",
      "三角形面积为：14.70\n"
     ]
    }
   ],
   "source": [
    "a = float (input ('输入三角形第一边长：'))\n",
    "b = float (input ('输入三角形第二边长：'))\n",
    "c = float (input ('输入三角形第三边长：'))\n",
    "while a+b<c or a+c<b or b+c<a:\n",
    "    print ('输入的边构不成三角形，请重新输入！')\n",
    "    a = float (input ('输入三角形第一边长：'))\n",
    "    b = float (input ('输入三角形第二边长：'))\n",
    "    c = float (input ('输入三角形第三边长：'))\n",
    "\n",
    "s = (a+b+c) /2\n",
    "area = (s*(s-a)*(s-b)*(s-c))**0.5\n",
    "print ('三角形面积为：%0.2f'%area)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### - 6.利用Python生成随机数。以下演示了如何生成一个随机数；\n",
    "\n",
    "代码如下："
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "7\n"
     ]
    }
   ],
   "source": [
    "# 生成 0 ~ 9 之间的随机数\n",
    "\n",
    "# 导入 random(随机数) 模块\n",
    "import random\n",
    " \n",
    "print(random.randint(0,9))"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "##### 提示：以上实例我们使用了 random 模块的 randint() 函数来生成随机数，你每次执行后都返回不同的数字（0 到 9）"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### - 7.利用Python将摄氏温度转化为华氏温度。以下演示了如何将摄氏温度转华氏温度；\n",
    "\n",
    "代码如下："
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "输入摄氏温度: 38\n",
      "38.0 摄氏温度转为华氏温度为 100.4 \n"
     ]
    }
   ],
   "source": [
    "# 用户输入摄氏温度\n",
    " \n",
    "# 接收用户输入\n",
    "celsius = float(input('输入摄氏温度: '))\n",
    " \n",
    "# 计算华氏温度\n",
    "fahrenheit = (celsius * 1.8) + 32\n",
    "print('%0.1f 摄氏温度转为华氏温度为 %0.1f ' %(celsius,fahrenheit))"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### - 8.利用Python进行变量交换。以下通过用户输入两个变量，并相互交换；\n",
    "\n",
    "代码如下："
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "输入 x 值: 2\n",
      "输入 y 值: 3\n",
      "交换后 x 的值为: 3\n",
      "交换后 y 的值为: 2\n"
     ]
    }
   ],
   "source": [
    "# 用户输入\n",
    "\n",
    "x = input('输入 x 值: ')\n",
    "y = input('输入 y 值: ')\n",
    "\n",
    "# 创建临时变量，并交换\n",
    "temp = x\n",
    "x = y\n",
    "y = temp\n",
    "\n",
    "print('交换后 x 的值为: {}'.format(x))\n",
    "print('交换后 y 的值为: {}'.format(y))"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "以上实例中，我们创建了临时变量 temp ，并将 x 的值存储在 temp 变量中，接着将 y 值赋给 x，最后将 temp 赋值给 y 变量。 我们也可以不创建临时变量，用一个非常优雅的方式来交换变量。"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "x,y = y,x"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "所以上述实例可以修改为："
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "输入 x 值: 3\n",
      "输入 y 值: 4\n",
      "交换后 x 的值为: 4\n",
      "交换后 y 的值为: 3\n"
     ]
    }
   ],
   "source": [
    "# 用户输入\n",
    "\n",
    "x = input('输入 x 值: ')\n",
    "y = input('输入 y 值: ')\n",
    "\n",
    "# 不使用临时变量\n",
    "x,y = y,x\n",
    "\n",
    "print('交换后 x 的值为: {}'.format(x))\n",
    "print('交换后 y 的值为: {}'.format(y))"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "collapsed": true
   },
   "source": [
    "### - 9.编程，找出10000之内的所有完数，并输出该完数及对应的因子。\n",
    "- 一个数如果恰好等于它的因子之和，这个数就称为“完数”。\n",
    "- 例如，6的因子为1、2、3，而6=1+2+3，因此6是完数。\n",
    "\n",
    "代码如下："
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "6 [1, 2, 3]\n",
      "28 [1, 2, 4, 7, 14]\n",
      "496 [1, 2, 4, 8, 16, 31, 62, 124, 248]\n",
      "8128 [1, 2, 4, 8, 16, 32, 64, 127, 254, 508, 1016, 2032, 4064]\n"
     ]
    }
   ],
   "source": [
    "def wanshu(N):\n",
    "    factors = []\n",
    "    for i in range(1, N):\n",
    "        if N % i == 0:\n",
    "            factors.append(i)   # find all factors\n",
    "    if sum(factors) == N:\n",
    "        return True, factors\n",
    "    return False, []\n",
    "\n",
    "for i in range(1, 10000):    # 请加注释\n",
    "    isW, facs = wanshu(i)    # 请加注释\n",
    "    if isW:                  # 请加注释\n",
    "        print (i, facs)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### - 10.摘录网页HTML源码，粘贴到input.txt，统计其中英文字母、空格、数字和其他字符的个数并输出。\n",
    "\n",
    "代码如下："
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "blank: 137\n",
      "number: 236\n",
      "letter: 2747\n",
      "other: 998\n"
     ]
    }
   ],
   "source": [
    "counts = {\"letter\": 0, \"blank\": 0, \"number\": 0, \"other\": 0}\n",
    "\n",
    "f = open('./input_1.txt', 'r')        #代码完整且正确，请使用自己准备的文档完成作业\n",
    "contents = f.readlines()\n",
    "f.close()\n",
    "for coni in contents:\n",
    "    tmp = coni.strip()\n",
    "    for ci in tmp:\n",
    "        if ci.isalpha():    # is letter?\n",
    "            counts[\"letter\"] += 1\n",
    "        elif ci.isspace():  # is space?\n",
    "            counts[\"blank\"] += 1\n",
    "        elif ci.isdigit():  # is number?\n",
    "            counts[\"number\"] += 1\n",
    "        else:               # other\n",
    "            counts[\"other\"] += 1\n",
    "for item in counts.items():\n",
    "    print (item[0] + \": \" + str(item[1]))"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### - 11.在网上摘录一段英文文本(尽量长一些)，粘贴到input.txt，统计其中每个单词的词频(出现的次数)，并按照词频的顺序写入out.txt文件，每一行的内容为“单词:频次”\n",
    "\n",
    "代码如下："
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [
    {
     "ename": "UnicodeDecodeError",
     "evalue": "'gbk' codec can't decode byte 0x9d in position 1080: illegal multibyte sequence",
     "output_type": "error",
     "traceback": [
      "\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
      "\u001b[1;31mUnicodeDecodeError\u001b[0m                        Traceback (most recent call last)",
      "\u001b[1;32m<ipython-input-1-018d3b236e2e>\u001b[0m in \u001b[0;36m<module>\u001b[1;34m()\u001b[0m\n\u001b[0;32m      2\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m      3\u001b[0m \u001b[0mf\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mopen\u001b[0m\u001b[1;33m(\u001b[0m\u001b[1;34m'./input_2.txt'\u001b[0m\u001b[1;33m,\u001b[0m \u001b[1;34m'r'\u001b[0m\u001b[1;33m)\u001b[0m      \u001b[1;31m#代码完整且正确，请使用自己准备的文档完成作业\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m----> 4\u001b[1;33m \u001b[0mcontents\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mf\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mread\u001b[0m\u001b[1;33m(\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m      5\u001b[0m \u001b[0mf\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mclose\u001b[0m\u001b[1;33m(\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m      6\u001b[0m \u001b[0mwords\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mre\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mfindall\u001b[0m\u001b[1;33m(\u001b[0m\u001b[1;34mr'\\w+'\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mcontents\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
      "\u001b[1;31mUnicodeDecodeError\u001b[0m: 'gbk' codec can't decode byte 0x9d in position 1080: illegal multibyte sequence"
     ]
    }
   ],
   "source": [
    "import re\n",
    "\n",
    "f = open('./input_2.txt', 'r')      #代码完整且正确，请使用自己准备的文档完成作业\n",
    "contents = f.read()\n",
    "f.close()\n",
    "words = re.findall(r'\\w+', contents)\n",
    "counts = {}\n",
    "for wordi in words:\n",
    "    if wordi in counts:\n",
    "        counts[wordi] += 1\n",
    "    else:\n",
    "        counts[wordi] = 1\n",
    "tmp = sorted(counts.items(), key = lambda item:item[1], reverse = True)\n",
    "\n",
    "fw = open('./out.txt', 'w')\n",
    "for ti in tmp:\n",
    "    fw.write(ti[0] + \": \" + str(ti[1]) + \"\\n\")\n",
    "fw.close()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### - 12.调出字符串'AV is largest Analytics community of India'中每个字母Extract each character\n",
    "\n",
    "代码如下："
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "['A', 'V', 'i', 's', 'l', 'a', 'r', 'g', 'e', 's', 't', 'A', 'n', 'a', 'l', 'y', 't', 'i', 'c', 's', 'c', 'o', 'm', 'm', 'u', 'n', 'i', 't', 'y', 'o', 'f', 'I', 'n', 'd', 'i', 'a']\n"
     ]
    }
   ],
   "source": [
    "import re\n",
    "result=re.findall(r'\\w','AV is largest Analytics community of India')\n",
    "print(result)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### - 13.获取昨天日期\n",
    "\n",
    "代码如下："
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "2019-06-27\n"
     ]
    }
   ],
   "source": [
    "# 引入 datetime 模块\n",
    "import datetime\n",
    "def getYesterday(): \n",
    "    today=datetime.date.today()   # 请加注释\n",
    "    oneday=datetime.timedelta(days=1)   # 请加注释\n",
    "    yesterday=today-oneday    # 请加注释\n",
    "    return yesterday\n",
    " \n",
    "# 输出\n",
    "print(getYesterday())"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "datetime.date(2019, 6, 28)"
      ]
     },
     "execution_count": 3,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 获取今天的日期\n",
    "today = datetime.date.today()\n",
    "today"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "datetime.timedelta(1)"
      ]
     },
     "execution_count": 6,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 定义需要增减的时间量\n",
    "oneday = datetime.timedelta(days=1)\n",
    "oneday"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "datetime.date(2019, 6, 27)"
      ]
     },
     "execution_count": 8,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 获取昨天的日期\n",
    "yesterday = today-oneday\n",
    "yesterday"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "datetime.date(2019, 6, 29)"
      ]
     },
     "execution_count": 9,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 获取明天的日期\n",
    "tomorrow = today+oneday\n",
    "tomorrow"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### - 14.生成日历\n",
    "\n",
    "代码如下："
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 26,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "输入年份: 2018\n",
      "输入月份: 3\n",
      "     March 2018\n",
      "Mo Tu We Th Fr Sa Su\n",
      "          1  2  3  4\n",
      " 5  6  7  8  9 10 11\n",
      "12 13 14 15 16 17 18\n",
      "19 20 21 22 23 24 25\n",
      "26 27 28 29 30 31\n",
      "\n"
     ]
    }
   ],
   "source": [
    "# 引入日历模块\n",
    "import calendar\n",
    " \n",
    "# 输入指定年月\n",
    "yy = int(input(\"输入年份: \"))\n",
    "mm = int(input(\"输入月份: \"))\n",
    " \n",
    "# 显示日历\n",
    "print(calendar.month(yy,mm))"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### - 15.最大公约数算法\n",
    "\n",
    "代码如下："
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 16,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "输入第一个数字: 36\n",
      "输入第二个数字: 24\n",
      "36 和 24 的最大公约数为 12\n"
     ]
    }
   ],
   "source": [
    "# 定义一个函数\n",
    "def hcf(x, y):\n",
    "   \"\"\"该函数返回两个数的最大公约数\"\"\"\n",
    " \n",
    "   # 获取最小值\n",
    "   if x > y:\n",
    "       smaller = y\n",
    "   else:\n",
    "       smaller = x\n",
    " \n",
    "   for i in range(1,smaller + 1):\n",
    "       if((x % i == 0) and (y % i == 0)):\n",
    "           hcf = i\n",
    " \n",
    "   return hcf\n",
    " \n",
    " \n",
    "# 用户输入两个数字\n",
    "num1 = int(input(\"输入第一个数字: \"))\n",
    "num2 = int(input(\"输入第二个数字: \"))\n",
    " \n",
    "print( num1,\"和\", num2,\"的最大公约数为\", hcf(num1, num2))"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### - 16.任意定义三个数(有整型和浮点型)，通过比较判断，输出其最大者。\n",
    "\n",
    "代码如下："
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 21,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "The maximum value is 12.5\n"
     ]
    }
   ],
   "source": [
    "nums = [3, 12.5, 5.562]  # input\n",
    "maxNum = nums[0]\n",
    "for i in range(1, len(nums)):\n",
    "    if nums[i] > maxNum:\n",
    "        maxNum = nums[i]\n",
    "print(\"The maximum value is\", maxNum)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### - 17.用list comprehension生成1-20000之间所有能被3整除不能被5整除的数\n",
    "\n",
    "代码如下："
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "[3, 6, 9, 12, 18, 21, 24, 27, 33, 36, 39, 42, 48, 51, 54, 57, 63, 66, 69, 72, 78, 81, 84, 87, 93, 96, 99, 102, 108, 111, 114, 117, 123, 126, 129, 132, 138, 141, 144, 147, 153, 156, 159, 162, 168, 171, 174, 177, 183, 186, 189, 192, 198, 201, 204, 207, 213, 216, 219, 222, 228, 231, 234, 237, 243, 246, 249, 252, 258, 261, 264, 267, 273, 276, 279, 282, 288, 291, 294, 297, 303, 306, 309, 312, 318, 321, 324, 327, 333, 336, 339, 342, 348, 351, 354, 357, 363, 366, 369, 372, 378, 381, 384, 387, 393, 396, 399, 402, 408, 411, 414, 417, 423, 426, 429, 432, 438, 441, 444, 447, 453, 456, 459, 462, 468, 471, 474, 477, 483, 486, 489, 492, 498, 501, 504, 507, 513, 516, 519, 522, 528, 531, 534, 537, 543, 546, 549, 552, 558, 561, 564, 567, 573, 576, 579, 582, 588, 591, 594, 597, 603, 606, 609, 612, 618, 621, 624, 627, 633, 636, 639, 642, 648, 651, 654, 657, 663, 666, 669, 672, 678, 681, 684, 687, 693, 696, 699, 702, 708, 711, 714, 717, 723, 726, 729, 732, 738, 741, 744, 747, 753, 756, 759, 762, 768, 771, 774, 777, 783, 786, 789, 792, 798, 801, 804, 807, 813, 816, 819, 822, 828, 831, 834, 837, 843, 846, 849, 852, 858, 861, 864, 867, 873, 876, 879, 882, 888, 891, 894, 897, 903, 906, 909, 912, 918, 921, 924, 927, 933, 936, 939, 942, 948, 951, 954, 957, 963, 966, 969, 972, 978, 981, 984, 987, 993, 996, 999, 1002, 1008, 1011, 1014, 1017, 1023, 1026, 1029, 1032, 1038, 1041, 1044, 1047, 1053, 1056, 1059, 1062, 1068, 1071, 1074, 1077, 1083, 1086, 1089, 1092, 1098, 1101, 1104, 1107, 1113, 1116, 1119, 1122, 1128, 1131, 1134, 1137, 1143, 1146, 1149, 1152, 1158, 1161, 1164, 1167, 1173, 1176, 1179, 1182, 1188, 1191, 1194, 1197, 1203, 1206, 1209, 1212, 1218, 1221, 1224, 1227, 1233, 1236, 1239, 1242, 1248, 1251, 1254, 1257, 1263, 1266, 1269, 1272, 1278, 1281, 1284, 1287, 1293, 1296, 1299, 1302, 1308, 1311, 1314, 1317, 1323, 1326, 1329, 1332, 1338, 1341, 1344, 1347, 1353, 1356, 1359, 1362, 1368, 1371, 1374, 1377, 1383, 1386, 1389, 1392, 1398, 1401, 1404, 1407, 1413, 1416, 1419, 1422, 1428, 1431, 1434, 1437, 1443, 1446, 1449, 1452, 1458, 1461, 1464, 1467, 1473, 1476, 1479, 1482, 1488, 1491, 1494, 1497, 1503, 1506, 1509, 1512, 1518, 1521, 1524, 1527, 1533, 1536, 1539, 1542, 1548, 1551, 1554, 1557, 1563, 1566, 1569, 1572, 1578, 1581, 1584, 1587, 1593, 1596, 1599, 1602, 1608, 1611, 1614, 1617, 1623, 1626, 1629, 1632, 1638, 1641, 1644, 1647, 1653, 1656, 1659, 1662, 1668, 1671, 1674, 1677, 1683, 1686, 1689, 1692, 1698, 1701, 1704, 1707, 1713, 1716, 1719, 1722, 1728, 1731, 1734, 1737, 1743, 1746, 1749, 1752, 1758, 1761, 1764, 1767, 1773, 1776, 1779, 1782, 1788, 1791, 1794, 1797, 1803, 1806, 1809, 1812, 1818, 1821, 1824, 1827, 1833, 1836, 1839, 1842, 1848, 1851, 1854, 1857, 1863, 1866, 1869, 1872, 1878, 1881, 1884, 1887, 1893, 1896, 1899, 1902, 1908, 1911, 1914, 1917, 1923, 1926, 1929, 1932, 1938, 1941, 1944, 1947, 1953, 1956, 1959, 1962, 1968, 1971, 1974, 1977, 1983, 1986, 1989, 1992, 1998, 2001, 2004, 2007, 2013, 2016, 2019, 2022, 2028, 2031, 2034, 2037, 2043, 2046, 2049, 2052, 2058, 2061, 2064, 2067, 2073, 2076, 2079, 2082, 2088, 2091, 2094, 2097, 2103, 2106, 2109, 2112, 2118, 2121, 2124, 2127, 2133, 2136, 2139, 2142, 2148, 2151, 2154, 2157, 2163, 2166, 2169, 2172, 2178, 2181, 2184, 2187, 2193, 2196, 2199, 2202, 2208, 2211, 2214, 2217, 2223, 2226, 2229, 2232, 2238, 2241, 2244, 2247, 2253, 2256, 2259, 2262, 2268, 2271, 2274, 2277, 2283, 2286, 2289, 2292, 2298, 2301, 2304, 2307, 2313, 2316, 2319, 2322, 2328, 2331, 2334, 2337, 2343, 2346, 2349, 2352, 2358, 2361, 2364, 2367, 2373, 2376, 2379, 2382, 2388, 2391, 2394, 2397, 2403, 2406, 2409, 2412, 2418, 2421, 2424, 2427, 2433, 2436, 2439, 2442, 2448, 2451, 2454, 2457, 2463, 2466, 2469, 2472, 2478, 2481, 2484, 2487, 2493, 2496, 2499, 2502, 2508, 2511, 2514, 2517, 2523, 2526, 2529, 2532, 2538, 2541, 2544, 2547, 2553, 2556, 2559, 2562, 2568, 2571, 2574, 2577, 2583, 2586, 2589, 2592, 2598, 2601, 2604, 2607, 2613, 2616, 2619, 2622, 2628, 2631, 2634, 2637, 2643, 2646, 2649, 2652, 2658, 2661, 2664, 2667, 2673, 2676, 2679, 2682, 2688, 2691, 2694, 2697, 2703, 2706, 2709, 2712, 2718, 2721, 2724, 2727, 2733, 2736, 2739, 2742, 2748, 2751, 2754, 2757, 2763, 2766, 2769, 2772, 2778, 2781, 2784, 2787, 2793, 2796, 2799, 2802, 2808, 2811, 2814, 2817, 2823, 2826, 2829, 2832, 2838, 2841, 2844, 2847, 2853, 2856, 2859, 2862, 2868, 2871, 2874, 2877, 2883, 2886, 2889, 2892, 2898, 2901, 2904, 2907, 2913, 2916, 2919, 2922, 2928, 2931, 2934, 2937, 2943, 2946, 2949, 2952, 2958, 2961, 2964, 2967, 2973, 2976, 2979, 2982, 2988, 2991, 2994, 2997, 3003, 3006, 3009, 3012, 3018, 3021, 3024, 3027, 3033, 3036, 3039, 3042, 3048, 3051, 3054, 3057, 3063, 3066, 3069, 3072, 3078, 3081, 3084, 3087, 3093, 3096, 3099, 3102, 3108, 3111, 3114, 3117, 3123, 3126, 3129, 3132, 3138, 3141, 3144, 3147, 3153, 3156, 3159, 3162, 3168, 3171, 3174, 3177, 3183, 3186, 3189, 3192, 3198, 3201, 3204, 3207, 3213, 3216, 3219, 3222, 3228, 3231, 3234, 3237, 3243, 3246, 3249, 3252, 3258, 3261, 3264, 3267, 3273, 3276, 3279, 3282, 3288, 3291, 3294, 3297, 3303, 3306, 3309, 3312, 3318, 3321, 3324, 3327, 3333, 3336, 3339, 3342, 3348, 3351, 3354, 3357, 3363, 3366, 3369, 3372, 3378, 3381, 3384, 3387, 3393, 3396, 3399, 3402, 3408, 3411, 3414, 3417, 3423, 3426, 3429, 3432, 3438, 3441, 3444, 3447, 3453, 3456, 3459, 3462, 3468, 3471, 3474, 3477, 3483, 3486, 3489, 3492, 3498, 3501, 3504, 3507, 3513, 3516, 3519, 3522, 3528, 3531, 3534, 3537, 3543, 3546, 3549, 3552, 3558, 3561, 3564, 3567, 3573, 3576, 3579, 3582, 3588, 3591, 3594, 3597, 3603, 3606, 3609, 3612, 3618, 3621, 3624, 3627, 3633, 3636, 3639, 3642, 3648, 3651, 3654, 3657, 3663, 3666, 3669, 3672, 3678, 3681, 3684, 3687, 3693, 3696, 3699, 3702, 3708, 3711, 3714, 3717, 3723, 3726, 3729, 3732, 3738, 3741, 3744, 3747, 3753, 3756, 3759, 3762, 3768, 3771, 3774, 3777, 3783, 3786, 3789, 3792, 3798, 3801, 3804, 3807, 3813, 3816, 3819, 3822, 3828, 3831, 3834, 3837, 3843, 3846, 3849, 3852, 3858, 3861, 3864, 3867, 3873, 3876, 3879, 3882, 3888, 3891, 3894, 3897, 3903, 3906, 3909, 3912, 3918, 3921, 3924, 3927, 3933, 3936, 3939, 3942, 3948, 3951, 3954, 3957, 3963, 3966, 3969, 3972, 3978, 3981, 3984, 3987, 3993, 3996, 3999, 4002, 4008, 4011, 4014, 4017, 4023, 4026, 4029, 4032, 4038, 4041, 4044, 4047, 4053, 4056, 4059, 4062, 4068, 4071, 4074, 4077, 4083, 4086, 4089, 4092, 4098, 4101, 4104, 4107, 4113, 4116, 4119, 4122, 4128, 4131, 4134, 4137, 4143, 4146, 4149, 4152, 4158, 4161, 4164, 4167, 4173, 4176, 4179, 4182, 4188, 4191, 4194, 4197, 4203, 4206, 4209, 4212, 4218, 4221, 4224, 4227, 4233, 4236, 4239, 4242, 4248, 4251, 4254, 4257, 4263, 4266, 4269, 4272, 4278, 4281, 4284, 4287, 4293, 4296, 4299, 4302, 4308, 4311, 4314, 4317, 4323, 4326, 4329, 4332, 4338, 4341, 4344, 4347, 4353, 4356, 4359, 4362, 4368, 4371, 4374, 4377, 4383, 4386, 4389, 4392, 4398, 4401, 4404, 4407, 4413, 4416, 4419, 4422, 4428, 4431, 4434, 4437, 4443, 4446, 4449, 4452, 4458, 4461, 4464, 4467, 4473, 4476, 4479, 4482, 4488, 4491, 4494, 4497, 4503, 4506, 4509, 4512, 4518, 4521, 4524, 4527, 4533, 4536, 4539, 4542, 4548, 4551, 4554, 4557, 4563, 4566, 4569, 4572, 4578, 4581, 4584, 4587, 4593, 4596, 4599, 4602, 4608, 4611, 4614, 4617, 4623, 4626, 4629, 4632, 4638, 4641, 4644, 4647, 4653, 4656, 4659, 4662, 4668, 4671, 4674, 4677, 4683, 4686, 4689, 4692, 4698, 4701, 4704, 4707, 4713, 4716, 4719, 4722, 4728, 4731, 4734, 4737, 4743, 4746, 4749, 4752, 4758, 4761, 4764, 4767, 4773, 4776, 4779, 4782, 4788, 4791, 4794, 4797, 4803, 4806, 4809, 4812, 4818, 4821, 4824, 4827, 4833, 4836, 4839, 4842, 4848, 4851, 4854, 4857, 4863, 4866, 4869, 4872, 4878, 4881, 4884, 4887, 4893, 4896, 4899, 4902, 4908, 4911, 4914, 4917, 4923, 4926, 4929, 4932, 4938, 4941, 4944, 4947, 4953, 4956, 4959, 4962, 4968, 4971, 4974, 4977, 4983, 4986, 4989, 4992, 4998, 5001, 5004, 5007, 5013, 5016, 5019, 5022, 5028, 5031, 5034, 5037, 5043, 5046, 5049, 5052, 5058, 5061, 5064, 5067, 5073, 5076, 5079, 5082, 5088, 5091, 5094, 5097, 5103, 5106, 5109, 5112, 5118, 5121, 5124, 5127, 5133, 5136, 5139, 5142, 5148, 5151, 5154, 5157, 5163, 5166, 5169, 5172, 5178, 5181, 5184, 5187, 5193, 5196, 5199, 5202, 5208, 5211, 5214, 5217, 5223, 5226, 5229, 5232, 5238, 5241, 5244, 5247, 5253, 5256, 5259, 5262, 5268, 5271, 5274, 5277, 5283, 5286, 5289, 5292, 5298, 5301, 5304, 5307, 5313, 5316, 5319, 5322, 5328, 5331, 5334, 5337, 5343, 5346, 5349, 5352, 5358, 5361, 5364, 5367, 5373, 5376, 5379, 5382, 5388, 5391, 5394, 5397, 5403, 5406, 5409, 5412, 5418, 5421, 5424, 5427, 5433, 5436, 5439, 5442, 5448, 5451, 5454, 5457, 5463, 5466, 5469, 5472, 5478, 5481, 5484, 5487, 5493, 5496, 5499, 5502, 5508, 5511, 5514, 5517, 5523, 5526, 5529, 5532, 5538, 5541, 5544, 5547, 5553, 5556, 5559, 5562, 5568, 5571, 5574, 5577, 5583, 5586, 5589, 5592, 5598, 5601, 5604, 5607, 5613, 5616, 5619, 5622, 5628, 5631, 5634, 5637, 5643, 5646, 5649, 5652, 5658, 5661, 5664, 5667, 5673, 5676, 5679, 5682, 5688, 5691, 5694, 5697, 5703, 5706, 5709, 5712, 5718, 5721, 5724, 5727, 5733, 5736, 5739, 5742, 5748, 5751, 5754, 5757, 5763, 5766, 5769, 5772, 5778, 5781, 5784, 5787, 5793, 5796, 5799, 5802, 5808, 5811, 5814, 5817, 5823, 5826, 5829, 5832, 5838, 5841, 5844, 5847, 5853, 5856, 5859, 5862, 5868, 5871, 5874, 5877, 5883, 5886, 5889, 5892, 5898, 5901, 5904, 5907, 5913, 5916, 5919, 5922, 5928, 5931, 5934, 5937, 5943, 5946, 5949, 5952, 5958, 5961, 5964, 5967, 5973, 5976, 5979, 5982, 5988, 5991, 5994, 5997, 6003, 6006, 6009, 6012, 6018, 6021, 6024, 6027, 6033, 6036, 6039, 6042, 6048, 6051, 6054, 6057, 6063, 6066, 6069, 6072, 6078, 6081, 6084, 6087, 6093, 6096, 6099, 6102, 6108, 6111, 6114, 6117, 6123, 6126, 6129, 6132, 6138, 6141, 6144, 6147, 6153, 6156, 6159, 6162, 6168, 6171, 6174, 6177, 6183, 6186, 6189, 6192, 6198, 6201, 6204, 6207, 6213, 6216, 6219, 6222, 6228, 6231, 6234, 6237, 6243, 6246, 6249, 6252, 6258, 6261, 6264, 6267, 6273, 6276, 6279, 6282, 6288, 6291, 6294, 6297, 6303, 6306, 6309, 6312, 6318, 6321, 6324, 6327, 6333, 6336, 6339, 6342, 6348, 6351, 6354, 6357, 6363, 6366, 6369, 6372, 6378, 6381, 6384, 6387, 6393, 6396, 6399, 6402, 6408, 6411, 6414, 6417, 6423, 6426, 6429, 6432, 6438, 6441, 6444, 6447, 6453, 6456, 6459, 6462, 6468, 6471, 6474, 6477, 6483, 6486, 6489, 6492, 6498, 6501, 6504, 6507, 6513, 6516, 6519, 6522, 6528, 6531, 6534, 6537, 6543, 6546, 6549, 6552, 6558, 6561, 6564, 6567, 6573, 6576, 6579, 6582, 6588, 6591, 6594, 6597, 6603, 6606, 6609, 6612, 6618, 6621, 6624, 6627, 6633, 6636, 6639, 6642, 6648, 6651, 6654, 6657, 6663, 6666, 6669, 6672, 6678, 6681, 6684, 6687, 6693, 6696, 6699, 6702, 6708, 6711, 6714, 6717, 6723, 6726, 6729, 6732, 6738, 6741, 6744, 6747, 6753, 6756, 6759, 6762, 6768, 6771, 6774, 6777, 6783, 6786, 6789, 6792, 6798, 6801, 6804, 6807, 6813, 6816, 6819, 6822, 6828, 6831, 6834, 6837, 6843, 6846, 6849, 6852, 6858, 6861, 6864, 6867, 6873, 6876, 6879, 6882, 6888, 6891, 6894, 6897, 6903, 6906, 6909, 6912, 6918, 6921, 6924, 6927, 6933, 6936, 6939, 6942, 6948, 6951, 6954, 6957, 6963, 6966, 6969, 6972, 6978, 6981, 6984, 6987, 6993, 6996, 6999, 7002, 7008, 7011, 7014, 7017, 7023, 7026, 7029, 7032, 7038, 7041, 7044, 7047, 7053, 7056, 7059, 7062, 7068, 7071, 7074, 7077, 7083, 7086, 7089, 7092, 7098, 7101, 7104, 7107, 7113, 7116, 7119, 7122, 7128, 7131, 7134, 7137, 7143, 7146, 7149, 7152, 7158, 7161, 7164, 7167, 7173, 7176, 7179, 7182, 7188, 7191, 7194, 7197, 7203, 7206, 7209, 7212, 7218, 7221, 7224, 7227, 7233, 7236, 7239, 7242, 7248, 7251, 7254, 7257, 7263, 7266, 7269, 7272, 7278, 7281, 7284, 7287, 7293, 7296, 7299, 7302, 7308, 7311, 7314, 7317, 7323, 7326, 7329, 7332, 7338, 7341, 7344, 7347, 7353, 7356, 7359, 7362, 7368, 7371, 7374, 7377, 7383, 7386, 7389, 7392, 7398, 7401, 7404, 7407, 7413, 7416, 7419, 7422, 7428, 7431, 7434, 7437, 7443, 7446, 7449, 7452, 7458, 7461, 7464, 7467, 7473, 7476, 7479, 7482, 7488, 7491, 7494, 7497, 7503, 7506, 7509, 7512, 7518, 7521, 7524, 7527, 7533, 7536, 7539, 7542, 7548, 7551, 7554, 7557, 7563, 7566, 7569, 7572, 7578, 7581, 7584, 7587, 7593, 7596, 7599, 7602, 7608, 7611, 7614, 7617, 7623, 7626, 7629, 7632, 7638, 7641, 7644, 7647, 7653, 7656, 7659, 7662, 7668, 7671, 7674, 7677, 7683, 7686, 7689, 7692, 7698, 7701, 7704, 7707, 7713, 7716, 7719, 7722, 7728, 7731, 7734, 7737, 7743, 7746, 7749, 7752, 7758, 7761, 7764, 7767, 7773, 7776, 7779, 7782, 7788, 7791, 7794, 7797, 7803, 7806, 7809, 7812, 7818, 7821, 7824, 7827, 7833, 7836, 7839, 7842, 7848, 7851, 7854, 7857, 7863, 7866, 7869, 7872, 7878, 7881, 7884, 7887, 7893, 7896, 7899, 7902, 7908, 7911, 7914, 7917, 7923, 7926, 7929, 7932, 7938, 7941, 7944, 7947, 7953, 7956, 7959, 7962, 7968, 7971, 7974, 7977, 7983, 7986, 7989, 7992, 7998, 8001, 8004, 8007, 8013, 8016, 8019, 8022, 8028, 8031, 8034, 8037, 8043, 8046, 8049, 8052, 8058, 8061, 8064, 8067, 8073, 8076, 8079, 8082, 8088, 8091, 8094, 8097, 8103, 8106, 8109, 8112, 8118, 8121, 8124, 8127, 8133, 8136, 8139, 8142, 8148, 8151, 8154, 8157, 8163, 8166, 8169, 8172, 8178, 8181, 8184, 8187, 8193, 8196, 8199, 8202, 8208, 8211, 8214, 8217, 8223, 8226, 8229, 8232, 8238, 8241, 8244, 8247, 8253, 8256, 8259, 8262, 8268, 8271, 8274, 8277, 8283, 8286, 8289, 8292, 8298, 8301, 8304, 8307, 8313, 8316, 8319, 8322, 8328, 8331, 8334, 8337, 8343, 8346, 8349, 8352, 8358, 8361, 8364, 8367, 8373, 8376, 8379, 8382, 8388, 8391, 8394, 8397, 8403, 8406, 8409, 8412, 8418, 8421, 8424, 8427, 8433, 8436, 8439, 8442, 8448, 8451, 8454, 8457, 8463, 8466, 8469, 8472, 8478, 8481, 8484, 8487, 8493, 8496, 8499, 8502, 8508, 8511, 8514, 8517, 8523, 8526, 8529, 8532, 8538, 8541, 8544, 8547, 8553, 8556, 8559, 8562, 8568, 8571, 8574, 8577, 8583, 8586, 8589, 8592, 8598, 8601, 8604, 8607, 8613, 8616, 8619, 8622, 8628, 8631, 8634, 8637, 8643, 8646, 8649, 8652, 8658, 8661, 8664, 8667, 8673, 8676, 8679, 8682, 8688, 8691, 8694, 8697, 8703, 8706, 8709, 8712, 8718, 8721, 8724, 8727, 8733, 8736, 8739, 8742, 8748, 8751, 8754, 8757, 8763, 8766, 8769, 8772, 8778, 8781, 8784, 8787, 8793, 8796, 8799, 8802, 8808, 8811, 8814, 8817, 8823, 8826, 8829, 8832, 8838, 8841, 8844, 8847, 8853, 8856, 8859, 8862, 8868, 8871, 8874, 8877, 8883, 8886, 8889, 8892, 8898, 8901, 8904, 8907, 8913, 8916, 8919, 8922, 8928, 8931, 8934, 8937, 8943, 8946, 8949, 8952, 8958, 8961, 8964, 8967, 8973, 8976, 8979, 8982, 8988, 8991, 8994, 8997, 9003, 9006, 9009, 9012, 9018, 9021, 9024, 9027, 9033, 9036, 9039, 9042, 9048, 9051, 9054, 9057, 9063, 9066, 9069, 9072, 9078, 9081, 9084, 9087, 9093, 9096, 9099, 9102, 9108, 9111, 9114, 9117, 9123, 9126, 9129, 9132, 9138, 9141, 9144, 9147, 9153, 9156, 9159, 9162, 9168, 9171, 9174, 9177, 9183, 9186, 9189, 9192, 9198, 9201, 9204, 9207, 9213, 9216, 9219, 9222, 9228, 9231, 9234, 9237, 9243, 9246, 9249, 9252, 9258, 9261, 9264, 9267, 9273, 9276, 9279, 9282, 9288, 9291, 9294, 9297, 9303, 9306, 9309, 9312, 9318, 9321, 9324, 9327, 9333, 9336, 9339, 9342, 9348, 9351, 9354, 9357, 9363, 9366, 9369, 9372, 9378, 9381, 9384, 9387, 9393, 9396, 9399, 9402, 9408, 9411, 9414, 9417, 9423, 9426, 9429, 9432, 9438, 9441, 9444, 9447, 9453, 9456, 9459, 9462, 9468, 9471, 9474, 9477, 9483, 9486, 9489, 9492, 9498, 9501, 9504, 9507, 9513, 9516, 9519, 9522, 9528, 9531, 9534, 9537, 9543, 9546, 9549, 9552, 9558, 9561, 9564, 9567, 9573, 9576, 9579, 9582, 9588, 9591, 9594, 9597, 9603, 9606, 9609, 9612, 9618, 9621, 9624, 9627, 9633, 9636, 9639, 9642, 9648, 9651, 9654, 9657, 9663, 9666, 9669, 9672, 9678, 9681, 9684, 9687, 9693, 9696, 9699, 9702, 9708, 9711, 9714, 9717, 9723, 9726, 9729, 9732, 9738, 9741, 9744, 9747, 9753, 9756, 9759, 9762, 9768, 9771, 9774, 9777, 9783, 9786, 9789, 9792, 9798, 9801, 9804, 9807, 9813, 9816, 9819, 9822, 9828, 9831, 9834, 9837, 9843, 9846, 9849, 9852, 9858, 9861, 9864, 9867, 9873, 9876, 9879, 9882, 9888, 9891, 9894, 9897, 9903, 9906, 9909, 9912, 9918, 9921, 9924, 9927, 9933, 9936, 9939, 9942, 9948, 9951, 9954, 9957, 9963, 9966, 9969, 9972, 9978, 9981, 9984, 9987, 9993, 9996, 9999, 10002, 10008, 10011, 10014, 10017, 10023, 10026, 10029, 10032, 10038, 10041, 10044, 10047, 10053, 10056, 10059, 10062, 10068, 10071, 10074, 10077, 10083, 10086, 10089, 10092, 10098, 10101, 10104, 10107, 10113, 10116, 10119, 10122, 10128, 10131, 10134, 10137, 10143, 10146, 10149, 10152, 10158, 10161, 10164, 10167, 10173, 10176, 10179, 10182, 10188, 10191, 10194, 10197, 10203, 10206, 10209, 10212, 10218, 10221, 10224, 10227, 10233, 10236, 10239, 10242, 10248, 10251, 10254, 10257, 10263, 10266, 10269, 10272, 10278, 10281, 10284, 10287, 10293, 10296, 10299, 10302, 10308, 10311, 10314, 10317, 10323, 10326, 10329, 10332, 10338, 10341, 10344, 10347, 10353, 10356, 10359, 10362, 10368, 10371, 10374, 10377, 10383, 10386, 10389, 10392, 10398, 10401, 10404, 10407, 10413, 10416, 10419, 10422, 10428, 10431, 10434, 10437, 10443, 10446, 10449, 10452, 10458, 10461, 10464, 10467, 10473, 10476, 10479, 10482, 10488, 10491, 10494, 10497, 10503, 10506, 10509, 10512, 10518, 10521, 10524, 10527, 10533, 10536, 10539, 10542, 10548, 10551, 10554, 10557, 10563, 10566, 10569, 10572, 10578, 10581, 10584, 10587, 10593, 10596, 10599, 10602, 10608, 10611, 10614, 10617, 10623, 10626, 10629, 10632, 10638, 10641, 10644, 10647, 10653, 10656, 10659, 10662, 10668, 10671, 10674, 10677, 10683, 10686, 10689, 10692, 10698, 10701, 10704, 10707, 10713, 10716, 10719, 10722, 10728, 10731, 10734, 10737, 10743, 10746, 10749, 10752, 10758, 10761, 10764, 10767, 10773, 10776, 10779, 10782, 10788, 10791, 10794, 10797, 10803, 10806, 10809, 10812, 10818, 10821, 10824, 10827, 10833, 10836, 10839, 10842, 10848, 10851, 10854, 10857, 10863, 10866, 10869, 10872, 10878, 10881, 10884, 10887, 10893, 10896, 10899, 10902, 10908, 10911, 10914, 10917, 10923, 10926, 10929, 10932, 10938, 10941, 10944, 10947, 10953, 10956, 10959, 10962, 10968, 10971, 10974, 10977, 10983, 10986, 10989, 10992, 10998, 11001, 11004, 11007, 11013, 11016, 11019, 11022, 11028, 11031, 11034, 11037, 11043, 11046, 11049, 11052, 11058, 11061, 11064, 11067, 11073, 11076, 11079, 11082, 11088, 11091, 11094, 11097, 11103, 11106, 11109, 11112, 11118, 11121, 11124, 11127, 11133, 11136, 11139, 11142, 11148, 11151, 11154, 11157, 11163, 11166, 11169, 11172, 11178, 11181, 11184, 11187, 11193, 11196, 11199, 11202, 11208, 11211, 11214, 11217, 11223, 11226, 11229, 11232, 11238, 11241, 11244, 11247, 11253, 11256, 11259, 11262, 11268, 11271, 11274, 11277, 11283, 11286, 11289, 11292, 11298, 11301, 11304, 11307, 11313, 11316, 11319, 11322, 11328, 11331, 11334, 11337, 11343, 11346, 11349, 11352, 11358, 11361, 11364, 11367, 11373, 11376, 11379, 11382, 11388, 11391, 11394, 11397, 11403, 11406, 11409, 11412, 11418, 11421, 11424, 11427, 11433, 11436, 11439, 11442, 11448, 11451, 11454, 11457, 11463, 11466, 11469, 11472, 11478, 11481, 11484, 11487, 11493, 11496, 11499, 11502, 11508, 11511, 11514, 11517, 11523, 11526, 11529, 11532, 11538, 11541, 11544, 11547, 11553, 11556, 11559, 11562, 11568, 11571, 11574, 11577, 11583, 11586, 11589, 11592, 11598, 11601, 11604, 11607, 11613, 11616, 11619, 11622, 11628, 11631, 11634, 11637, 11643, 11646, 11649, 11652, 11658, 11661, 11664, 11667, 11673, 11676, 11679, 11682, 11688, 11691, 11694, 11697, 11703, 11706, 11709, 11712, 11718, 11721, 11724, 11727, 11733, 11736, 11739, 11742, 11748, 11751, 11754, 11757, 11763, 11766, 11769, 11772, 11778, 11781, 11784, 11787, 11793, 11796, 11799, 11802, 11808, 11811, 11814, 11817, 11823, 11826, 11829, 11832, 11838, 11841, 11844, 11847, 11853, 11856, 11859, 11862, 11868, 11871, 11874, 11877, 11883, 11886, 11889, 11892, 11898, 11901, 11904, 11907, 11913, 11916, 11919, 11922, 11928, 11931, 11934, 11937, 11943, 11946, 11949, 11952, 11958, 11961, 11964, 11967, 11973, 11976, 11979, 11982, 11988, 11991, 11994, 11997, 12003, 12006, 12009, 12012, 12018, 12021, 12024, 12027, 12033, 12036, 12039, 12042, 12048, 12051, 12054, 12057, 12063, 12066, 12069, 12072, 12078, 12081, 12084, 12087, 12093, 12096, 12099, 12102, 12108, 12111, 12114, 12117, 12123, 12126, 12129, 12132, 12138, 12141, 12144, 12147, 12153, 12156, 12159, 12162, 12168, 12171, 12174, 12177, 12183, 12186, 12189, 12192, 12198, 12201, 12204, 12207, 12213, 12216, 12219, 12222, 12228, 12231, 12234, 12237, 12243, 12246, 12249, 12252, 12258, 12261, 12264, 12267, 12273, 12276, 12279, 12282, 12288, 12291, 12294, 12297, 12303, 12306, 12309, 12312, 12318, 12321, 12324, 12327, 12333, 12336, 12339, 12342, 12348, 12351, 12354, 12357, 12363, 12366, 12369, 12372, 12378, 12381, 12384, 12387, 12393, 12396, 12399, 12402, 12408, 12411, 12414, 12417, 12423, 12426, 12429, 12432, 12438, 12441, 12444, 12447, 12453, 12456, 12459, 12462, 12468, 12471, 12474, 12477, 12483, 12486, 12489, 12492, 12498, 12501, 12504, 12507, 12513, 12516, 12519, 12522, 12528, 12531, 12534, 12537, 12543, 12546, 12549, 12552, 12558, 12561, 12564, 12567, 12573, 12576, 12579, 12582, 12588, 12591, 12594, 12597, 12603, 12606, 12609, 12612, 12618, 12621, 12624, 12627, 12633, 12636, 12639, 12642, 12648, 12651, 12654, 12657, 12663, 12666, 12669, 12672, 12678, 12681, 12684, 12687, 12693, 12696, 12699, 12702, 12708, 12711, 12714, 12717, 12723, 12726, 12729, 12732, 12738, 12741, 12744, 12747, 12753, 12756, 12759, 12762, 12768, 12771, 12774, 12777, 12783, 12786, 12789, 12792, 12798, 12801, 12804, 12807, 12813, 12816, 12819, 12822, 12828, 12831, 12834, 12837, 12843, 12846, 12849, 12852, 12858, 12861, 12864, 12867, 12873, 12876, 12879, 12882, 12888, 12891, 12894, 12897, 12903, 12906, 12909, 12912, 12918, 12921, 12924, 12927, 12933, 12936, 12939, 12942, 12948, 12951, 12954, 12957, 12963, 12966, 12969, 12972, 12978, 12981, 12984, 12987, 12993, 12996, 12999, 13002, 13008, 13011, 13014, 13017, 13023, 13026, 13029, 13032, 13038, 13041, 13044, 13047, 13053, 13056, 13059, 13062, 13068, 13071, 13074, 13077, 13083, 13086, 13089, 13092, 13098, 13101, 13104, 13107, 13113, 13116, 13119, 13122, 13128, 13131, 13134, 13137, 13143, 13146, 13149, 13152, 13158, 13161, 13164, 13167, 13173, 13176, 13179, 13182, 13188, 13191, 13194, 13197, 13203, 13206, 13209, 13212, 13218, 13221, 13224, 13227, 13233, 13236, 13239, 13242, 13248, 13251, 13254, 13257, 13263, 13266, 13269, 13272, 13278, 13281, 13284, 13287, 13293, 13296, 13299, 13302, 13308, 13311, 13314, 13317, 13323, 13326, 13329, 13332, 13338, 13341, 13344, 13347, 13353, 13356, 13359, 13362, 13368, 13371, 13374, 13377, 13383, 13386, 13389, 13392, 13398, 13401, 13404, 13407, 13413, 13416, 13419, 13422, 13428, 13431, 13434, 13437, 13443, 13446, 13449, 13452, 13458, 13461, 13464, 13467, 13473, 13476, 13479, 13482, 13488, 13491, 13494, 13497, 13503, 13506, 13509, 13512, 13518, 13521, 13524, 13527, 13533, 13536, 13539, 13542, 13548, 13551, 13554, 13557, 13563, 13566, 13569, 13572, 13578, 13581, 13584, 13587, 13593, 13596, 13599, 13602, 13608, 13611, 13614, 13617, 13623, 13626, 13629, 13632, 13638, 13641, 13644, 13647, 13653, 13656, 13659, 13662, 13668, 13671, 13674, 13677, 13683, 13686, 13689, 13692, 13698, 13701, 13704, 13707, 13713, 13716, 13719, 13722, 13728, 13731, 13734, 13737, 13743, 13746, 13749, 13752, 13758, 13761, 13764, 13767, 13773, 13776, 13779, 13782, 13788, 13791, 13794, 13797, 13803, 13806, 13809, 13812, 13818, 13821, 13824, 13827, 13833, 13836, 13839, 13842, 13848, 13851, 13854, 13857, 13863, 13866, 13869, 13872, 13878, 13881, 13884, 13887, 13893, 13896, 13899, 13902, 13908, 13911, 13914, 13917, 13923, 13926, 13929, 13932, 13938, 13941, 13944, 13947, 13953, 13956, 13959, 13962, 13968, 13971, 13974, 13977, 13983, 13986, 13989, 13992, 13998, 14001, 14004, 14007, 14013, 14016, 14019, 14022, 14028, 14031, 14034, 14037, 14043, 14046, 14049, 14052, 14058, 14061, 14064, 14067, 14073, 14076, 14079, 14082, 14088, 14091, 14094, 14097, 14103, 14106, 14109, 14112, 14118, 14121, 14124, 14127, 14133, 14136, 14139, 14142, 14148, 14151, 14154, 14157, 14163, 14166, 14169, 14172, 14178, 14181, 14184, 14187, 14193, 14196, 14199, 14202, 14208, 14211, 14214, 14217, 14223, 14226, 14229, 14232, 14238, 14241, 14244, 14247, 14253, 14256, 14259, 14262, 14268, 14271, 14274, 14277, 14283, 14286, 14289, 14292, 14298, 14301, 14304, 14307, 14313, 14316, 14319, 14322, 14328, 14331, 14334, 14337, 14343, 14346, 14349, 14352, 14358, 14361, 14364, 14367, 14373, 14376, 14379, 14382, 14388, 14391, 14394, 14397, 14403, 14406, 14409, 14412, 14418, 14421, 14424, 14427, 14433, 14436, 14439, 14442, 14448, 14451, 14454, 14457, 14463, 14466, 14469, 14472, 14478, 14481, 14484, 14487, 14493, 14496, 14499, 14502, 14508, 14511, 14514, 14517, 14523, 14526, 14529, 14532, 14538, 14541, 14544, 14547, 14553, 14556, 14559, 14562, 14568, 14571, 14574, 14577, 14583, 14586, 14589, 14592, 14598, 14601, 14604, 14607, 14613, 14616, 14619, 14622, 14628, 14631, 14634, 14637, 14643, 14646, 14649, 14652, 14658, 14661, 14664, 14667, 14673, 14676, 14679, 14682, 14688, 14691, 14694, 14697, 14703, 14706, 14709, 14712, 14718, 14721, 14724, 14727, 14733, 14736, 14739, 14742, 14748, 14751, 14754, 14757, 14763, 14766, 14769, 14772, 14778, 14781, 14784, 14787, 14793, 14796, 14799, 14802, 14808, 14811, 14814, 14817, 14823, 14826, 14829, 14832, 14838, 14841, 14844, 14847, 14853, 14856, 14859, 14862, 14868, 14871, 14874, 14877, 14883, 14886, 14889, 14892, 14898, 14901, 14904, 14907, 14913, 14916, 14919, 14922, 14928, 14931, 14934, 14937, 14943, 14946, 14949, 14952, 14958, 14961, 14964, 14967, 14973, 14976, 14979, 14982, 14988, 14991, 14994, 14997, 15003, 15006, 15009, 15012, 15018, 15021, 15024, 15027, 15033, 15036, 15039, 15042, 15048, 15051, 15054, 15057, 15063, 15066, 15069, 15072, 15078, 15081, 15084, 15087, 15093, 15096, 15099, 15102, 15108, 15111, 15114, 15117, 15123, 15126, 15129, 15132, 15138, 15141, 15144, 15147, 15153, 15156, 15159, 15162, 15168, 15171, 15174, 15177, 15183, 15186, 15189, 15192, 15198, 15201, 15204, 15207, 15213, 15216, 15219, 15222, 15228, 15231, 15234, 15237, 15243, 15246, 15249, 15252, 15258, 15261, 15264, 15267, 15273, 15276, 15279, 15282, 15288, 15291, 15294, 15297, 15303, 15306, 15309, 15312, 15318, 15321, 15324, 15327, 15333, 15336, 15339, 15342, 15348, 15351, 15354, 15357, 15363, 15366, 15369, 15372, 15378, 15381, 15384, 15387, 15393, 15396, 15399, 15402, 15408, 15411, 15414, 15417, 15423, 15426, 15429, 15432, 15438, 15441, 15444, 15447, 15453, 15456, 15459, 15462, 15468, 15471, 15474, 15477, 15483, 15486, 15489, 15492, 15498, 15501, 15504, 15507, 15513, 15516, 15519, 15522, 15528, 15531, 15534, 15537, 15543, 15546, 15549, 15552, 15558, 15561, 15564, 15567, 15573, 15576, 15579, 15582, 15588, 15591, 15594, 15597, 15603, 15606, 15609, 15612, 15618, 15621, 15624, 15627, 15633, 15636, 15639, 15642, 15648, 15651, 15654, 15657, 15663, 15666, 15669, 15672, 15678, 15681, 15684, 15687, 15693, 15696, 15699, 15702, 15708, 15711, 15714, 15717, 15723, 15726, 15729, 15732, 15738, 15741, 15744, 15747, 15753, 15756, 15759, 15762, 15768, 15771, 15774, 15777, 15783, 15786, 15789, 15792, 15798, 15801, 15804, 15807, 15813, 15816, 15819, 15822, 15828, 15831, 15834, 15837, 15843, 15846, 15849, 15852, 15858, 15861, 15864, 15867, 15873, 15876, 15879, 15882, 15888, 15891, 15894, 15897, 15903, 15906, 15909, 15912, 15918, 15921, 15924, 15927, 15933, 15936, 15939, 15942, 15948, 15951, 15954, 15957, 15963, 15966, 15969, 15972, 15978, 15981, 15984, 15987, 15993, 15996, 15999, 16002, 16008, 16011, 16014, 16017, 16023, 16026, 16029, 16032, 16038, 16041, 16044, 16047, 16053, 16056, 16059, 16062, 16068, 16071, 16074, 16077, 16083, 16086, 16089, 16092, 16098, 16101, 16104, 16107, 16113, 16116, 16119, 16122, 16128, 16131, 16134, 16137, 16143, 16146, 16149, 16152, 16158, 16161, 16164, 16167, 16173, 16176, 16179, 16182, 16188, 16191, 16194, 16197, 16203, 16206, 16209, 16212, 16218, 16221, 16224, 16227, 16233, 16236, 16239, 16242, 16248, 16251, 16254, 16257, 16263, 16266, 16269, 16272, 16278, 16281, 16284, 16287, 16293, 16296, 16299, 16302, 16308, 16311, 16314, 16317, 16323, 16326, 16329, 16332, 16338, 16341, 16344, 16347, 16353, 16356, 16359, 16362, 16368, 16371, 16374, 16377, 16383, 16386, 16389, 16392, 16398, 16401, 16404, 16407, 16413, 16416, 16419, 16422, 16428, 16431, 16434, 16437, 16443, 16446, 16449, 16452, 16458, 16461, 16464, 16467, 16473, 16476, 16479, 16482, 16488, 16491, 16494, 16497, 16503, 16506, 16509, 16512, 16518, 16521, 16524, 16527, 16533, 16536, 16539, 16542, 16548, 16551, 16554, 16557, 16563, 16566, 16569, 16572, 16578, 16581, 16584, 16587, 16593, 16596, 16599, 16602, 16608, 16611, 16614, 16617, 16623, 16626, 16629, 16632, 16638, 16641, 16644, 16647, 16653, 16656, 16659, 16662, 16668, 16671, 16674, 16677, 16683, 16686, 16689, 16692, 16698, 16701, 16704, 16707, 16713, 16716, 16719, 16722, 16728, 16731, 16734, 16737, 16743, 16746, 16749, 16752, 16758, 16761, 16764, 16767, 16773, 16776, 16779, 16782, 16788, 16791, 16794, 16797, 16803, 16806, 16809, 16812, 16818, 16821, 16824, 16827, 16833, 16836, 16839, 16842, 16848, 16851, 16854, 16857, 16863, 16866, 16869, 16872, 16878, 16881, 16884, 16887, 16893, 16896, 16899, 16902, 16908, 16911, 16914, 16917, 16923, 16926, 16929, 16932, 16938, 16941, 16944, 16947, 16953, 16956, 16959, 16962, 16968, 16971, 16974, 16977, 16983, 16986, 16989, 16992, 16998, 17001, 17004, 17007, 17013, 17016, 17019, 17022, 17028, 17031, 17034, 17037, 17043, 17046, 17049, 17052, 17058, 17061, 17064, 17067, 17073, 17076, 17079, 17082, 17088, 17091, 17094, 17097, 17103, 17106, 17109, 17112, 17118, 17121, 17124, 17127, 17133, 17136, 17139, 17142, 17148, 17151, 17154, 17157, 17163, 17166, 17169, 17172, 17178, 17181, 17184, 17187, 17193, 17196, 17199, 17202, 17208, 17211, 17214, 17217, 17223, 17226, 17229, 17232, 17238, 17241, 17244, 17247, 17253, 17256, 17259, 17262, 17268, 17271, 17274, 17277, 17283, 17286, 17289, 17292, 17298, 17301, 17304, 17307, 17313, 17316, 17319, 17322, 17328, 17331, 17334, 17337, 17343, 17346, 17349, 17352, 17358, 17361, 17364, 17367, 17373, 17376, 17379, 17382, 17388, 17391, 17394, 17397, 17403, 17406, 17409, 17412, 17418, 17421, 17424, 17427, 17433, 17436, 17439, 17442, 17448, 17451, 17454, 17457, 17463, 17466, 17469, 17472, 17478, 17481, 17484, 17487, 17493, 17496, 17499, 17502, 17508, 17511, 17514, 17517, 17523, 17526, 17529, 17532, 17538, 17541, 17544, 17547, 17553, 17556, 17559, 17562, 17568, 17571, 17574, 17577, 17583, 17586, 17589, 17592, 17598, 17601, 17604, 17607, 17613, 17616, 17619, 17622, 17628, 17631, 17634, 17637, 17643, 17646, 17649, 17652, 17658, 17661, 17664, 17667, 17673, 17676, 17679, 17682, 17688, 17691, 17694, 17697, 17703, 17706, 17709, 17712, 17718, 17721, 17724, 17727, 17733, 17736, 17739, 17742, 17748, 17751, 17754, 17757, 17763, 17766, 17769, 17772, 17778, 17781, 17784, 17787, 17793, 17796, 17799, 17802, 17808, 17811, 17814, 17817, 17823, 17826, 17829, 17832, 17838, 17841, 17844, 17847, 17853, 17856, 17859, 17862, 17868, 17871, 17874, 17877, 17883, 17886, 17889, 17892, 17898, 17901, 17904, 17907, 17913, 17916, 17919, 17922, 17928, 17931, 17934, 17937, 17943, 17946, 17949, 17952, 17958, 17961, 17964, 17967, 17973, 17976, 17979, 17982, 17988, 17991, 17994, 17997, 18003, 18006, 18009, 18012, 18018, 18021, 18024, 18027, 18033, 18036, 18039, 18042, 18048, 18051, 18054, 18057, 18063, 18066, 18069, 18072, 18078, 18081, 18084, 18087, 18093, 18096, 18099, 18102, 18108, 18111, 18114, 18117, 18123, 18126, 18129, 18132, 18138, 18141, 18144, 18147, 18153, 18156, 18159, 18162, 18168, 18171, 18174, 18177, 18183, 18186, 18189, 18192, 18198, 18201, 18204, 18207, 18213, 18216, 18219, 18222, 18228, 18231, 18234, 18237, 18243, 18246, 18249, 18252, 18258, 18261, 18264, 18267, 18273, 18276, 18279, 18282, 18288, 18291, 18294, 18297, 18303, 18306, 18309, 18312, 18318, 18321, 18324, 18327, 18333, 18336, 18339, 18342, 18348, 18351, 18354, 18357, 18363, 18366, 18369, 18372, 18378, 18381, 18384, 18387, 18393, 18396, 18399, 18402, 18408, 18411, 18414, 18417, 18423, 18426, 18429, 18432, 18438, 18441, 18444, 18447, 18453, 18456, 18459, 18462, 18468, 18471, 18474, 18477, 18483, 18486, 18489, 18492, 18498, 18501, 18504, 18507, 18513, 18516, 18519, 18522, 18528, 18531, 18534, 18537, 18543, 18546, 18549, 18552, 18558, 18561, 18564, 18567, 18573, 18576, 18579, 18582, 18588, 18591, 18594, 18597, 18603, 18606, 18609, 18612, 18618, 18621, 18624, 18627, 18633, 18636, 18639, 18642, 18648, 18651, 18654, 18657, 18663, 18666, 18669, 18672, 18678, 18681, 18684, 18687, 18693, 18696, 18699, 18702, 18708, 18711, 18714, 18717, 18723, 18726, 18729, 18732, 18738, 18741, 18744, 18747, 18753, 18756, 18759, 18762, 18768, 18771, 18774, 18777, 18783, 18786, 18789, 18792, 18798, 18801, 18804, 18807, 18813, 18816, 18819, 18822, 18828, 18831, 18834, 18837, 18843, 18846, 18849, 18852, 18858, 18861, 18864, 18867, 18873, 18876, 18879, 18882, 18888, 18891, 18894, 18897, 18903, 18906, 18909, 18912, 18918, 18921, 18924, 18927, 18933, 18936, 18939, 18942, 18948, 18951, 18954, 18957, 18963, 18966, 18969, 18972, 18978, 18981, 18984, 18987, 18993, 18996, 18999, 19002, 19008, 19011, 19014, 19017, 19023, 19026, 19029, 19032, 19038, 19041, 19044, 19047, 19053, 19056, 19059, 19062, 19068, 19071, 19074, 19077, 19083, 19086, 19089, 19092, 19098, 19101, 19104, 19107, 19113, 19116, 19119, 19122, 19128, 19131, 19134, 19137, 19143, 19146, 19149, 19152, 19158, 19161, 19164, 19167, 19173, 19176, 19179, 19182, 19188, 19191, 19194, 19197, 19203, 19206, 19209, 19212, 19218, 19221, 19224, 19227, 19233, 19236, 19239, 19242, 19248, 19251, 19254, 19257, 19263, 19266, 19269, 19272, 19278, 19281, 19284, 19287, 19293, 19296, 19299, 19302, 19308, 19311, 19314, 19317, 19323, 19326, 19329, 19332, 19338, 19341, 19344, 19347, 19353, 19356, 19359, 19362, 19368, 19371, 19374, 19377, 19383, 19386, 19389, 19392, 19398, 19401, 19404, 19407, 19413, 19416, 19419, 19422, 19428, 19431, 19434, 19437, 19443, 19446, 19449, 19452, 19458, 19461, 19464, 19467, 19473, 19476, 19479, 19482, 19488, 19491, 19494, 19497, 19503, 19506, 19509, 19512, 19518, 19521, 19524, 19527, 19533, 19536, 19539, 19542, 19548, 19551, 19554, 19557, 19563, 19566, 19569, 19572, 19578, 19581, 19584, 19587, 19593, 19596, 19599, 19602, 19608, 19611, 19614, 19617, 19623, 19626, 19629, 19632, 19638, 19641, 19644, 19647, 19653, 19656, 19659, 19662, 19668, 19671, 19674, 19677, 19683, 19686, 19689, 19692, 19698, 19701, 19704, 19707, 19713, 19716, 19719, 19722, 19728, 19731, 19734, 19737, 19743, 19746, 19749, 19752, 19758, 19761, 19764, 19767, 19773, 19776, 19779, 19782, 19788, 19791, 19794, 19797, 19803, 19806, 19809, 19812, 19818, 19821, 19824, 19827, 19833, 19836, 19839, 19842, 19848, 19851, 19854, 19857, 19863, 19866, 19869, 19872, 19878, 19881, 19884, 19887, 19893, 19896, 19899, 19902, 19908, 19911, 19914, 19917, 19923, 19926, 19929, 19932, 19938, 19941, 19944, 19947, 19953, 19956, 19959, 19962, 19968, 19971, 19974, 19977, 19983, 19986, 19989, 19992, 19998]\n"
     ]
    }
   ],
   "source": [
    "nums = [num for num in range(1, 20001) if num % 3 == 0 and num % 5 != 0]\n",
    "print(nums)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### - 18.练习切片，取出上述列表中前10个数，最后5个数，下标为偶数的数，并把列表逆序。\n",
    "\n",
    "代码如下："
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 23,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "[3, 6, 9, 12, 18, 21, 24, 27, 33, 36]\n",
      "[19983, 19986, 19989, 19992, 19998]\n",
      "[3, 9, 18, 24, 33, 39, 48, 54, 63, 69, 78, 84, 93, 99, 108, 114, 123, 129, 138, 144, 153, 159, 168, 174, 183, 189, 198, 204, 213, 219, 228, 234, 243, 249, 258, 264, 273, 279, 288, 294, 303, 309, 318, 324, 333, 339, 348, 354, 363, 369, 378, 384, 393, 399, 408, 414, 423, 429, 438, 444, 453, 459, 468, 474, 483, 489, 498, 504, 513, 519, 528, 534, 543, 549, 558, 564, 573, 579, 588, 594, 603, 609, 618, 624, 633, 639, 648, 654, 663, 669, 678, 684, 693, 699, 708, 714, 723, 729, 738, 744, 753, 759, 768, 774, 783, 789, 798, 804, 813, 819, 828, 834, 843, 849, 858, 864, 873, 879, 888, 894, 903, 909, 918, 924, 933, 939, 948, 954, 963, 969, 978, 984, 993, 999, 1008, 1014, 1023, 1029, 1038, 1044, 1053, 1059, 1068, 1074, 1083, 1089, 1098, 1104, 1113, 1119, 1128, 1134, 1143, 1149, 1158, 1164, 1173, 1179, 1188, 1194, 1203, 1209, 1218, 1224, 1233, 1239, 1248, 1254, 1263, 1269, 1278, 1284, 1293, 1299, 1308, 1314, 1323, 1329, 1338, 1344, 1353, 1359, 1368, 1374, 1383, 1389, 1398, 1404, 1413, 1419, 1428, 1434, 1443, 1449, 1458, 1464, 1473, 1479, 1488, 1494, 1503, 1509, 1518, 1524, 1533, 1539, 1548, 1554, 1563, 1569, 1578, 1584, 1593, 1599, 1608, 1614, 1623, 1629, 1638, 1644, 1653, 1659, 1668, 1674, 1683, 1689, 1698, 1704, 1713, 1719, 1728, 1734, 1743, 1749, 1758, 1764, 1773, 1779, 1788, 1794, 1803, 1809, 1818, 1824, 1833, 1839, 1848, 1854, 1863, 1869, 1878, 1884, 1893, 1899, 1908, 1914, 1923, 1929, 1938, 1944, 1953, 1959, 1968, 1974, 1983, 1989, 1998, 2004, 2013, 2019, 2028, 2034, 2043, 2049, 2058, 2064, 2073, 2079, 2088, 2094, 2103, 2109, 2118, 2124, 2133, 2139, 2148, 2154, 2163, 2169, 2178, 2184, 2193, 2199, 2208, 2214, 2223, 2229, 2238, 2244, 2253, 2259, 2268, 2274, 2283, 2289, 2298, 2304, 2313, 2319, 2328, 2334, 2343, 2349, 2358, 2364, 2373, 2379, 2388, 2394, 2403, 2409, 2418, 2424, 2433, 2439, 2448, 2454, 2463, 2469, 2478, 2484, 2493, 2499, 2508, 2514, 2523, 2529, 2538, 2544, 2553, 2559, 2568, 2574, 2583, 2589, 2598, 2604, 2613, 2619, 2628, 2634, 2643, 2649, 2658, 2664, 2673, 2679, 2688, 2694, 2703, 2709, 2718, 2724, 2733, 2739, 2748, 2754, 2763, 2769, 2778, 2784, 2793, 2799, 2808, 2814, 2823, 2829, 2838, 2844, 2853, 2859, 2868, 2874, 2883, 2889, 2898, 2904, 2913, 2919, 2928, 2934, 2943, 2949, 2958, 2964, 2973, 2979, 2988, 2994, 3003, 3009, 3018, 3024, 3033, 3039, 3048, 3054, 3063, 3069, 3078, 3084, 3093, 3099, 3108, 3114, 3123, 3129, 3138, 3144, 3153, 3159, 3168, 3174, 3183, 3189, 3198, 3204, 3213, 3219, 3228, 3234, 3243, 3249, 3258, 3264, 3273, 3279, 3288, 3294, 3303, 3309, 3318, 3324, 3333, 3339, 3348, 3354, 3363, 3369, 3378, 3384, 3393, 3399, 3408, 3414, 3423, 3429, 3438, 3444, 3453, 3459, 3468, 3474, 3483, 3489, 3498, 3504, 3513, 3519, 3528, 3534, 3543, 3549, 3558, 3564, 3573, 3579, 3588, 3594, 3603, 3609, 3618, 3624, 3633, 3639, 3648, 3654, 3663, 3669, 3678, 3684, 3693, 3699, 3708, 3714, 3723, 3729, 3738, 3744, 3753, 3759, 3768, 3774, 3783, 3789, 3798, 3804, 3813, 3819, 3828, 3834, 3843, 3849, 3858, 3864, 3873, 3879, 3888, 3894, 3903, 3909, 3918, 3924, 3933, 3939, 3948, 3954, 3963, 3969, 3978, 3984, 3993, 3999, 4008, 4014, 4023, 4029, 4038, 4044, 4053, 4059, 4068, 4074, 4083, 4089, 4098, 4104, 4113, 4119, 4128, 4134, 4143, 4149, 4158, 4164, 4173, 4179, 4188, 4194, 4203, 4209, 4218, 4224, 4233, 4239, 4248, 4254, 4263, 4269, 4278, 4284, 4293, 4299, 4308, 4314, 4323, 4329, 4338, 4344, 4353, 4359, 4368, 4374, 4383, 4389, 4398, 4404, 4413, 4419, 4428, 4434, 4443, 4449, 4458, 4464, 4473, 4479, 4488, 4494, 4503, 4509, 4518, 4524, 4533, 4539, 4548, 4554, 4563, 4569, 4578, 4584, 4593, 4599, 4608, 4614, 4623, 4629, 4638, 4644, 4653, 4659, 4668, 4674, 4683, 4689, 4698, 4704, 4713, 4719, 4728, 4734, 4743, 4749, 4758, 4764, 4773, 4779, 4788, 4794, 4803, 4809, 4818, 4824, 4833, 4839, 4848, 4854, 4863, 4869, 4878, 4884, 4893, 4899, 4908, 4914, 4923, 4929, 4938, 4944, 4953, 4959, 4968, 4974, 4983, 4989, 4998, 5004, 5013, 5019, 5028, 5034, 5043, 5049, 5058, 5064, 5073, 5079, 5088, 5094, 5103, 5109, 5118, 5124, 5133, 5139, 5148, 5154, 5163, 5169, 5178, 5184, 5193, 5199, 5208, 5214, 5223, 5229, 5238, 5244, 5253, 5259, 5268, 5274, 5283, 5289, 5298, 5304, 5313, 5319, 5328, 5334, 5343, 5349, 5358, 5364, 5373, 5379, 5388, 5394, 5403, 5409, 5418, 5424, 5433, 5439, 5448, 5454, 5463, 5469, 5478, 5484, 5493, 5499, 5508, 5514, 5523, 5529, 5538, 5544, 5553, 5559, 5568, 5574, 5583, 5589, 5598, 5604, 5613, 5619, 5628, 5634, 5643, 5649, 5658, 5664, 5673, 5679, 5688, 5694, 5703, 5709, 5718, 5724, 5733, 5739, 5748, 5754, 5763, 5769, 5778, 5784, 5793, 5799, 5808, 5814, 5823, 5829, 5838, 5844, 5853, 5859, 5868, 5874, 5883, 5889, 5898, 5904, 5913, 5919, 5928, 5934, 5943, 5949, 5958, 5964, 5973, 5979, 5988, 5994, 6003, 6009, 6018, 6024, 6033, 6039, 6048, 6054, 6063, 6069, 6078, 6084, 6093, 6099, 6108, 6114, 6123, 6129, 6138, 6144, 6153, 6159, 6168, 6174, 6183, 6189, 6198, 6204, 6213, 6219, 6228, 6234, 6243, 6249, 6258, 6264, 6273, 6279, 6288, 6294, 6303, 6309, 6318, 6324, 6333, 6339, 6348, 6354, 6363, 6369, 6378, 6384, 6393, 6399, 6408, 6414, 6423, 6429, 6438, 6444, 6453, 6459, 6468, 6474, 6483, 6489, 6498, 6504, 6513, 6519, 6528, 6534, 6543, 6549, 6558, 6564, 6573, 6579, 6588, 6594, 6603, 6609, 6618, 6624, 6633, 6639, 6648, 6654, 6663, 6669, 6678, 6684, 6693, 6699, 6708, 6714, 6723, 6729, 6738, 6744, 6753, 6759, 6768, 6774, 6783, 6789, 6798, 6804, 6813, 6819, 6828, 6834, 6843, 6849, 6858, 6864, 6873, 6879, 6888, 6894, 6903, 6909, 6918, 6924, 6933, 6939, 6948, 6954, 6963, 6969, 6978, 6984, 6993, 6999, 7008, 7014, 7023, 7029, 7038, 7044, 7053, 7059, 7068, 7074, 7083, 7089, 7098, 7104, 7113, 7119, 7128, 7134, 7143, 7149, 7158, 7164, 7173, 7179, 7188, 7194, 7203, 7209, 7218, 7224, 7233, 7239, 7248, 7254, 7263, 7269, 7278, 7284, 7293, 7299, 7308, 7314, 7323, 7329, 7338, 7344, 7353, 7359, 7368, 7374, 7383, 7389, 7398, 7404, 7413, 7419, 7428, 7434, 7443, 7449, 7458, 7464, 7473, 7479, 7488, 7494, 7503, 7509, 7518, 7524, 7533, 7539, 7548, 7554, 7563, 7569, 7578, 7584, 7593, 7599, 7608, 7614, 7623, 7629, 7638, 7644, 7653, 7659, 7668, 7674, 7683, 7689, 7698, 7704, 7713, 7719, 7728, 7734, 7743, 7749, 7758, 7764, 7773, 7779, 7788, 7794, 7803, 7809, 7818, 7824, 7833, 7839, 7848, 7854, 7863, 7869, 7878, 7884, 7893, 7899, 7908, 7914, 7923, 7929, 7938, 7944, 7953, 7959, 7968, 7974, 7983, 7989, 7998, 8004, 8013, 8019, 8028, 8034, 8043, 8049, 8058, 8064, 8073, 8079, 8088, 8094, 8103, 8109, 8118, 8124, 8133, 8139, 8148, 8154, 8163, 8169, 8178, 8184, 8193, 8199, 8208, 8214, 8223, 8229, 8238, 8244, 8253, 8259, 8268, 8274, 8283, 8289, 8298, 8304, 8313, 8319, 8328, 8334, 8343, 8349, 8358, 8364, 8373, 8379, 8388, 8394, 8403, 8409, 8418, 8424, 8433, 8439, 8448, 8454, 8463, 8469, 8478, 8484, 8493, 8499, 8508, 8514, 8523, 8529, 8538, 8544, 8553, 8559, 8568, 8574, 8583, 8589, 8598, 8604, 8613, 8619, 8628, 8634, 8643, 8649, 8658, 8664, 8673, 8679, 8688, 8694, 8703, 8709, 8718, 8724, 8733, 8739, 8748, 8754, 8763, 8769, 8778, 8784, 8793, 8799, 8808, 8814, 8823, 8829, 8838, 8844, 8853, 8859, 8868, 8874, 8883, 8889, 8898, 8904, 8913, 8919, 8928, 8934, 8943, 8949, 8958, 8964, 8973, 8979, 8988, 8994, 9003, 9009, 9018, 9024, 9033, 9039, 9048, 9054, 9063, 9069, 9078, 9084, 9093, 9099, 9108, 9114, 9123, 9129, 9138, 9144, 9153, 9159, 9168, 9174, 9183, 9189, 9198, 9204, 9213, 9219, 9228, 9234, 9243, 9249, 9258, 9264, 9273, 9279, 9288, 9294, 9303, 9309, 9318, 9324, 9333, 9339, 9348, 9354, 9363, 9369, 9378, 9384, 9393, 9399, 9408, 9414, 9423, 9429, 9438, 9444, 9453, 9459, 9468, 9474, 9483, 9489, 9498, 9504, 9513, 9519, 9528, 9534, 9543, 9549, 9558, 9564, 9573, 9579, 9588, 9594, 9603, 9609, 9618, 9624, 9633, 9639, 9648, 9654, 9663, 9669, 9678, 9684, 9693, 9699, 9708, 9714, 9723, 9729, 9738, 9744, 9753, 9759, 9768, 9774, 9783, 9789, 9798, 9804, 9813, 9819, 9828, 9834, 9843, 9849, 9858, 9864, 9873, 9879, 9888, 9894, 9903, 9909, 9918, 9924, 9933, 9939, 9948, 9954, 9963, 9969, 9978, 9984, 9993, 9999, 10008, 10014, 10023, 10029, 10038, 10044, 10053, 10059, 10068, 10074, 10083, 10089, 10098, 10104, 10113, 10119, 10128, 10134, 10143, 10149, 10158, 10164, 10173, 10179, 10188, 10194, 10203, 10209, 10218, 10224, 10233, 10239, 10248, 10254, 10263, 10269, 10278, 10284, 10293, 10299, 10308, 10314, 10323, 10329, 10338, 10344, 10353, 10359, 10368, 10374, 10383, 10389, 10398, 10404, 10413, 10419, 10428, 10434, 10443, 10449, 10458, 10464, 10473, 10479, 10488, 10494, 10503, 10509, 10518, 10524, 10533, 10539, 10548, 10554, 10563, 10569, 10578, 10584, 10593, 10599, 10608, 10614, 10623, 10629, 10638, 10644, 10653, 10659, 10668, 10674, 10683, 10689, 10698, 10704, 10713, 10719, 10728, 10734, 10743, 10749, 10758, 10764, 10773, 10779, 10788, 10794, 10803, 10809, 10818, 10824, 10833, 10839, 10848, 10854, 10863, 10869, 10878, 10884, 10893, 10899, 10908, 10914, 10923, 10929, 10938, 10944, 10953, 10959, 10968, 10974, 10983, 10989, 10998, 11004, 11013, 11019, 11028, 11034, 11043, 11049, 11058, 11064, 11073, 11079, 11088, 11094, 11103, 11109, 11118, 11124, 11133, 11139, 11148, 11154, 11163, 11169, 11178, 11184, 11193, 11199, 11208, 11214, 11223, 11229, 11238, 11244, 11253, 11259, 11268, 11274, 11283, 11289, 11298, 11304, 11313, 11319, 11328, 11334, 11343, 11349, 11358, 11364, 11373, 11379, 11388, 11394, 11403, 11409, 11418, 11424, 11433, 11439, 11448, 11454, 11463, 11469, 11478, 11484, 11493, 11499, 11508, 11514, 11523, 11529, 11538, 11544, 11553, 11559, 11568, 11574, 11583, 11589, 11598, 11604, 11613, 11619, 11628, 11634, 11643, 11649, 11658, 11664, 11673, 11679, 11688, 11694, 11703, 11709, 11718, 11724, 11733, 11739, 11748, 11754, 11763, 11769, 11778, 11784, 11793, 11799, 11808, 11814, 11823, 11829, 11838, 11844, 11853, 11859, 11868, 11874, 11883, 11889, 11898, 11904, 11913, 11919, 11928, 11934, 11943, 11949, 11958, 11964, 11973, 11979, 11988, 11994, 12003, 12009, 12018, 12024, 12033, 12039, 12048, 12054, 12063, 12069, 12078, 12084, 12093, 12099, 12108, 12114, 12123, 12129, 12138, 12144, 12153, 12159, 12168, 12174, 12183, 12189, 12198, 12204, 12213, 12219, 12228, 12234, 12243, 12249, 12258, 12264, 12273, 12279, 12288, 12294, 12303, 12309, 12318, 12324, 12333, 12339, 12348, 12354, 12363, 12369, 12378, 12384, 12393, 12399, 12408, 12414, 12423, 12429, 12438, 12444, 12453, 12459, 12468, 12474, 12483, 12489, 12498, 12504, 12513, 12519, 12528, 12534, 12543, 12549, 12558, 12564, 12573, 12579, 12588, 12594, 12603, 12609, 12618, 12624, 12633, 12639, 12648, 12654, 12663, 12669, 12678, 12684, 12693, 12699, 12708, 12714, 12723, 12729, 12738, 12744, 12753, 12759, 12768, 12774, 12783, 12789, 12798, 12804, 12813, 12819, 12828, 12834, 12843, 12849, 12858, 12864, 12873, 12879, 12888, 12894, 12903, 12909, 12918, 12924, 12933, 12939, 12948, 12954, 12963, 12969, 12978, 12984, 12993, 12999, 13008, 13014, 13023, 13029, 13038, 13044, 13053, 13059, 13068, 13074, 13083, 13089, 13098, 13104, 13113, 13119, 13128, 13134, 13143, 13149, 13158, 13164, 13173, 13179, 13188, 13194, 13203, 13209, 13218, 13224, 13233, 13239, 13248, 13254, 13263, 13269, 13278, 13284, 13293, 13299, 13308, 13314, 13323, 13329, 13338, 13344, 13353, 13359, 13368, 13374, 13383, 13389, 13398, 13404, 13413, 13419, 13428, 13434, 13443, 13449, 13458, 13464, 13473, 13479, 13488, 13494, 13503, 13509, 13518, 13524, 13533, 13539, 13548, 13554, 13563, 13569, 13578, 13584, 13593, 13599, 13608, 13614, 13623, 13629, 13638, 13644, 13653, 13659, 13668, 13674, 13683, 13689, 13698, 13704, 13713, 13719, 13728, 13734, 13743, 13749, 13758, 13764, 13773, 13779, 13788, 13794, 13803, 13809, 13818, 13824, 13833, 13839, 13848, 13854, 13863, 13869, 13878, 13884, 13893, 13899, 13908, 13914, 13923, 13929, 13938, 13944, 13953, 13959, 13968, 13974, 13983, 13989, 13998, 14004, 14013, 14019, 14028, 14034, 14043, 14049, 14058, 14064, 14073, 14079, 14088, 14094, 14103, 14109, 14118, 14124, 14133, 14139, 14148, 14154, 14163, 14169, 14178, 14184, 14193, 14199, 14208, 14214, 14223, 14229, 14238, 14244, 14253, 14259, 14268, 14274, 14283, 14289, 14298, 14304, 14313, 14319, 14328, 14334, 14343, 14349, 14358, 14364, 14373, 14379, 14388, 14394, 14403, 14409, 14418, 14424, 14433, 14439, 14448, 14454, 14463, 14469, 14478, 14484, 14493, 14499, 14508, 14514, 14523, 14529, 14538, 14544, 14553, 14559, 14568, 14574, 14583, 14589, 14598, 14604, 14613, 14619, 14628, 14634, 14643, 14649, 14658, 14664, 14673, 14679, 14688, 14694, 14703, 14709, 14718, 14724, 14733, 14739, 14748, 14754, 14763, 14769, 14778, 14784, 14793, 14799, 14808, 14814, 14823, 14829, 14838, 14844, 14853, 14859, 14868, 14874, 14883, 14889, 14898, 14904, 14913, 14919, 14928, 14934, 14943, 14949, 14958, 14964, 14973, 14979, 14988, 14994, 15003, 15009, 15018, 15024, 15033, 15039, 15048, 15054, 15063, 15069, 15078, 15084, 15093, 15099, 15108, 15114, 15123, 15129, 15138, 15144, 15153, 15159, 15168, 15174, 15183, 15189, 15198, 15204, 15213, 15219, 15228, 15234, 15243, 15249, 15258, 15264, 15273, 15279, 15288, 15294, 15303, 15309, 15318, 15324, 15333, 15339, 15348, 15354, 15363, 15369, 15378, 15384, 15393, 15399, 15408, 15414, 15423, 15429, 15438, 15444, 15453, 15459, 15468, 15474, 15483, 15489, 15498, 15504, 15513, 15519, 15528, 15534, 15543, 15549, 15558, 15564, 15573, 15579, 15588, 15594, 15603, 15609, 15618, 15624, 15633, 15639, 15648, 15654, 15663, 15669, 15678, 15684, 15693, 15699, 15708, 15714, 15723, 15729, 15738, 15744, 15753, 15759, 15768, 15774, 15783, 15789, 15798, 15804, 15813, 15819, 15828, 15834, 15843, 15849, 15858, 15864, 15873, 15879, 15888, 15894, 15903, 15909, 15918, 15924, 15933, 15939, 15948, 15954, 15963, 15969, 15978, 15984, 15993, 15999, 16008, 16014, 16023, 16029, 16038, 16044, 16053, 16059, 16068, 16074, 16083, 16089, 16098, 16104, 16113, 16119, 16128, 16134, 16143, 16149, 16158, 16164, 16173, 16179, 16188, 16194, 16203, 16209, 16218, 16224, 16233, 16239, 16248, 16254, 16263, 16269, 16278, 16284, 16293, 16299, 16308, 16314, 16323, 16329, 16338, 16344, 16353, 16359, 16368, 16374, 16383, 16389, 16398, 16404, 16413, 16419, 16428, 16434, 16443, 16449, 16458, 16464, 16473, 16479, 16488, 16494, 16503, 16509, 16518, 16524, 16533, 16539, 16548, 16554, 16563, 16569, 16578, 16584, 16593, 16599, 16608, 16614, 16623, 16629, 16638, 16644, 16653, 16659, 16668, 16674, 16683, 16689, 16698, 16704, 16713, 16719, 16728, 16734, 16743, 16749, 16758, 16764, 16773, 16779, 16788, 16794, 16803, 16809, 16818, 16824, 16833, 16839, 16848, 16854, 16863, 16869, 16878, 16884, 16893, 16899, 16908, 16914, 16923, 16929, 16938, 16944, 16953, 16959, 16968, 16974, 16983, 16989, 16998, 17004, 17013, 17019, 17028, 17034, 17043, 17049, 17058, 17064, 17073, 17079, 17088, 17094, 17103, 17109, 17118, 17124, 17133, 17139, 17148, 17154, 17163, 17169, 17178, 17184, 17193, 17199, 17208, 17214, 17223, 17229, 17238, 17244, 17253, 17259, 17268, 17274, 17283, 17289, 17298, 17304, 17313, 17319, 17328, 17334, 17343, 17349, 17358, 17364, 17373, 17379, 17388, 17394, 17403, 17409, 17418, 17424, 17433, 17439, 17448, 17454, 17463, 17469, 17478, 17484, 17493, 17499, 17508, 17514, 17523, 17529, 17538, 17544, 17553, 17559, 17568, 17574, 17583, 17589, 17598, 17604, 17613, 17619, 17628, 17634, 17643, 17649, 17658, 17664, 17673, 17679, 17688, 17694, 17703, 17709, 17718, 17724, 17733, 17739, 17748, 17754, 17763, 17769, 17778, 17784, 17793, 17799, 17808, 17814, 17823, 17829, 17838, 17844, 17853, 17859, 17868, 17874, 17883, 17889, 17898, 17904, 17913, 17919, 17928, 17934, 17943, 17949, 17958, 17964, 17973, 17979, 17988, 17994, 18003, 18009, 18018, 18024, 18033, 18039, 18048, 18054, 18063, 18069, 18078, 18084, 18093, 18099, 18108, 18114, 18123, 18129, 18138, 18144, 18153, 18159, 18168, 18174, 18183, 18189, 18198, 18204, 18213, 18219, 18228, 18234, 18243, 18249, 18258, 18264, 18273, 18279, 18288, 18294, 18303, 18309, 18318, 18324, 18333, 18339, 18348, 18354, 18363, 18369, 18378, 18384, 18393, 18399, 18408, 18414, 18423, 18429, 18438, 18444, 18453, 18459, 18468, 18474, 18483, 18489, 18498, 18504, 18513, 18519, 18528, 18534, 18543, 18549, 18558, 18564, 18573, 18579, 18588, 18594, 18603, 18609, 18618, 18624, 18633, 18639, 18648, 18654, 18663, 18669, 18678, 18684, 18693, 18699, 18708, 18714, 18723, 18729, 18738, 18744, 18753, 18759, 18768, 18774, 18783, 18789, 18798, 18804, 18813, 18819, 18828, 18834, 18843, 18849, 18858, 18864, 18873, 18879, 18888, 18894, 18903, 18909, 18918, 18924, 18933, 18939, 18948, 18954, 18963, 18969, 18978, 18984, 18993, 18999, 19008, 19014, 19023, 19029, 19038, 19044, 19053, 19059, 19068, 19074, 19083, 19089, 19098, 19104, 19113, 19119, 19128, 19134, 19143, 19149, 19158, 19164, 19173, 19179, 19188, 19194, 19203, 19209, 19218, 19224, 19233, 19239, 19248, 19254, 19263, 19269, 19278, 19284, 19293, 19299, 19308, 19314, 19323, 19329, 19338, 19344, 19353, 19359, 19368, 19374, 19383, 19389, 19398, 19404, 19413, 19419, 19428, 19434, 19443, 19449, 19458, 19464, 19473, 19479, 19488, 19494, 19503, 19509, 19518, 19524, 19533, 19539, 19548, 19554, 19563, 19569, 19578, 19584, 19593, 19599, 19608, 19614, 19623, 19629, 19638, 19644, 19653, 19659, 19668, 19674, 19683, 19689, 19698, 19704, 19713, 19719, 19728, 19734, 19743, 19749, 19758, 19764, 19773, 19779, 19788, 19794, 19803, 19809, 19818, 19824, 19833, 19839, 19848, 19854, 19863, 19869, 19878, 19884, 19893, 19899, 19908, 19914, 19923, 19929, 19938, 19944, 19953, 19959, 19968, 19974, 19983, 19989, 19998]\n",
      "[19998, 19992, 19989, 19986, 19983, 19977, 19974, 19971, 19968, 19962, 19959, 19956, 19953, 19947, 19944, 19941, 19938, 19932, 19929, 19926, 19923, 19917, 19914, 19911, 19908, 19902, 19899, 19896, 19893, 19887, 19884, 19881, 19878, 19872, 19869, 19866, 19863, 19857, 19854, 19851, 19848, 19842, 19839, 19836, 19833, 19827, 19824, 19821, 19818, 19812, 19809, 19806, 19803, 19797, 19794, 19791, 19788, 19782, 19779, 19776, 19773, 19767, 19764, 19761, 19758, 19752, 19749, 19746, 19743, 19737, 19734, 19731, 19728, 19722, 19719, 19716, 19713, 19707, 19704, 19701, 19698, 19692, 19689, 19686, 19683, 19677, 19674, 19671, 19668, 19662, 19659, 19656, 19653, 19647, 19644, 19641, 19638, 19632, 19629, 19626, 19623, 19617, 19614, 19611, 19608, 19602, 19599, 19596, 19593, 19587, 19584, 19581, 19578, 19572, 19569, 19566, 19563, 19557, 19554, 19551, 19548, 19542, 19539, 19536, 19533, 19527, 19524, 19521, 19518, 19512, 19509, 19506, 19503, 19497, 19494, 19491, 19488, 19482, 19479, 19476, 19473, 19467, 19464, 19461, 19458, 19452, 19449, 19446, 19443, 19437, 19434, 19431, 19428, 19422, 19419, 19416, 19413, 19407, 19404, 19401, 19398, 19392, 19389, 19386, 19383, 19377, 19374, 19371, 19368, 19362, 19359, 19356, 19353, 19347, 19344, 19341, 19338, 19332, 19329, 19326, 19323, 19317, 19314, 19311, 19308, 19302, 19299, 19296, 19293, 19287, 19284, 19281, 19278, 19272, 19269, 19266, 19263, 19257, 19254, 19251, 19248, 19242, 19239, 19236, 19233, 19227, 19224, 19221, 19218, 19212, 19209, 19206, 19203, 19197, 19194, 19191, 19188, 19182, 19179, 19176, 19173, 19167, 19164, 19161, 19158, 19152, 19149, 19146, 19143, 19137, 19134, 19131, 19128, 19122, 19119, 19116, 19113, 19107, 19104, 19101, 19098, 19092, 19089, 19086, 19083, 19077, 19074, 19071, 19068, 19062, 19059, 19056, 19053, 19047, 19044, 19041, 19038, 19032, 19029, 19026, 19023, 19017, 19014, 19011, 19008, 19002, 18999, 18996, 18993, 18987, 18984, 18981, 18978, 18972, 18969, 18966, 18963, 18957, 18954, 18951, 18948, 18942, 18939, 18936, 18933, 18927, 18924, 18921, 18918, 18912, 18909, 18906, 18903, 18897, 18894, 18891, 18888, 18882, 18879, 18876, 18873, 18867, 18864, 18861, 18858, 18852, 18849, 18846, 18843, 18837, 18834, 18831, 18828, 18822, 18819, 18816, 18813, 18807, 18804, 18801, 18798, 18792, 18789, 18786, 18783, 18777, 18774, 18771, 18768, 18762, 18759, 18756, 18753, 18747, 18744, 18741, 18738, 18732, 18729, 18726, 18723, 18717, 18714, 18711, 18708, 18702, 18699, 18696, 18693, 18687, 18684, 18681, 18678, 18672, 18669, 18666, 18663, 18657, 18654, 18651, 18648, 18642, 18639, 18636, 18633, 18627, 18624, 18621, 18618, 18612, 18609, 18606, 18603, 18597, 18594, 18591, 18588, 18582, 18579, 18576, 18573, 18567, 18564, 18561, 18558, 18552, 18549, 18546, 18543, 18537, 18534, 18531, 18528, 18522, 18519, 18516, 18513, 18507, 18504, 18501, 18498, 18492, 18489, 18486, 18483, 18477, 18474, 18471, 18468, 18462, 18459, 18456, 18453, 18447, 18444, 18441, 18438, 18432, 18429, 18426, 18423, 18417, 18414, 18411, 18408, 18402, 18399, 18396, 18393, 18387, 18384, 18381, 18378, 18372, 18369, 18366, 18363, 18357, 18354, 18351, 18348, 18342, 18339, 18336, 18333, 18327, 18324, 18321, 18318, 18312, 18309, 18306, 18303, 18297, 18294, 18291, 18288, 18282, 18279, 18276, 18273, 18267, 18264, 18261, 18258, 18252, 18249, 18246, 18243, 18237, 18234, 18231, 18228, 18222, 18219, 18216, 18213, 18207, 18204, 18201, 18198, 18192, 18189, 18186, 18183, 18177, 18174, 18171, 18168, 18162, 18159, 18156, 18153, 18147, 18144, 18141, 18138, 18132, 18129, 18126, 18123, 18117, 18114, 18111, 18108, 18102, 18099, 18096, 18093, 18087, 18084, 18081, 18078, 18072, 18069, 18066, 18063, 18057, 18054, 18051, 18048, 18042, 18039, 18036, 18033, 18027, 18024, 18021, 18018, 18012, 18009, 18006, 18003, 17997, 17994, 17991, 17988, 17982, 17979, 17976, 17973, 17967, 17964, 17961, 17958, 17952, 17949, 17946, 17943, 17937, 17934, 17931, 17928, 17922, 17919, 17916, 17913, 17907, 17904, 17901, 17898, 17892, 17889, 17886, 17883, 17877, 17874, 17871, 17868, 17862, 17859, 17856, 17853, 17847, 17844, 17841, 17838, 17832, 17829, 17826, 17823, 17817, 17814, 17811, 17808, 17802, 17799, 17796, 17793, 17787, 17784, 17781, 17778, 17772, 17769, 17766, 17763, 17757, 17754, 17751, 17748, 17742, 17739, 17736, 17733, 17727, 17724, 17721, 17718, 17712, 17709, 17706, 17703, 17697, 17694, 17691, 17688, 17682, 17679, 17676, 17673, 17667, 17664, 17661, 17658, 17652, 17649, 17646, 17643, 17637, 17634, 17631, 17628, 17622, 17619, 17616, 17613, 17607, 17604, 17601, 17598, 17592, 17589, 17586, 17583, 17577, 17574, 17571, 17568, 17562, 17559, 17556, 17553, 17547, 17544, 17541, 17538, 17532, 17529, 17526, 17523, 17517, 17514, 17511, 17508, 17502, 17499, 17496, 17493, 17487, 17484, 17481, 17478, 17472, 17469, 17466, 17463, 17457, 17454, 17451, 17448, 17442, 17439, 17436, 17433, 17427, 17424, 17421, 17418, 17412, 17409, 17406, 17403, 17397, 17394, 17391, 17388, 17382, 17379, 17376, 17373, 17367, 17364, 17361, 17358, 17352, 17349, 17346, 17343, 17337, 17334, 17331, 17328, 17322, 17319, 17316, 17313, 17307, 17304, 17301, 17298, 17292, 17289, 17286, 17283, 17277, 17274, 17271, 17268, 17262, 17259, 17256, 17253, 17247, 17244, 17241, 17238, 17232, 17229, 17226, 17223, 17217, 17214, 17211, 17208, 17202, 17199, 17196, 17193, 17187, 17184, 17181, 17178, 17172, 17169, 17166, 17163, 17157, 17154, 17151, 17148, 17142, 17139, 17136, 17133, 17127, 17124, 17121, 17118, 17112, 17109, 17106, 17103, 17097, 17094, 17091, 17088, 17082, 17079, 17076, 17073, 17067, 17064, 17061, 17058, 17052, 17049, 17046, 17043, 17037, 17034, 17031, 17028, 17022, 17019, 17016, 17013, 17007, 17004, 17001, 16998, 16992, 16989, 16986, 16983, 16977, 16974, 16971, 16968, 16962, 16959, 16956, 16953, 16947, 16944, 16941, 16938, 16932, 16929, 16926, 16923, 16917, 16914, 16911, 16908, 16902, 16899, 16896, 16893, 16887, 16884, 16881, 16878, 16872, 16869, 16866, 16863, 16857, 16854, 16851, 16848, 16842, 16839, 16836, 16833, 16827, 16824, 16821, 16818, 16812, 16809, 16806, 16803, 16797, 16794, 16791, 16788, 16782, 16779, 16776, 16773, 16767, 16764, 16761, 16758, 16752, 16749, 16746, 16743, 16737, 16734, 16731, 16728, 16722, 16719, 16716, 16713, 16707, 16704, 16701, 16698, 16692, 16689, 16686, 16683, 16677, 16674, 16671, 16668, 16662, 16659, 16656, 16653, 16647, 16644, 16641, 16638, 16632, 16629, 16626, 16623, 16617, 16614, 16611, 16608, 16602, 16599, 16596, 16593, 16587, 16584, 16581, 16578, 16572, 16569, 16566, 16563, 16557, 16554, 16551, 16548, 16542, 16539, 16536, 16533, 16527, 16524, 16521, 16518, 16512, 16509, 16506, 16503, 16497, 16494, 16491, 16488, 16482, 16479, 16476, 16473, 16467, 16464, 16461, 16458, 16452, 16449, 16446, 16443, 16437, 16434, 16431, 16428, 16422, 16419, 16416, 16413, 16407, 16404, 16401, 16398, 16392, 16389, 16386, 16383, 16377, 16374, 16371, 16368, 16362, 16359, 16356, 16353, 16347, 16344, 16341, 16338, 16332, 16329, 16326, 16323, 16317, 16314, 16311, 16308, 16302, 16299, 16296, 16293, 16287, 16284, 16281, 16278, 16272, 16269, 16266, 16263, 16257, 16254, 16251, 16248, 16242, 16239, 16236, 16233, 16227, 16224, 16221, 16218, 16212, 16209, 16206, 16203, 16197, 16194, 16191, 16188, 16182, 16179, 16176, 16173, 16167, 16164, 16161, 16158, 16152, 16149, 16146, 16143, 16137, 16134, 16131, 16128, 16122, 16119, 16116, 16113, 16107, 16104, 16101, 16098, 16092, 16089, 16086, 16083, 16077, 16074, 16071, 16068, 16062, 16059, 16056, 16053, 16047, 16044, 16041, 16038, 16032, 16029, 16026, 16023, 16017, 16014, 16011, 16008, 16002, 15999, 15996, 15993, 15987, 15984, 15981, 15978, 15972, 15969, 15966, 15963, 15957, 15954, 15951, 15948, 15942, 15939, 15936, 15933, 15927, 15924, 15921, 15918, 15912, 15909, 15906, 15903, 15897, 15894, 15891, 15888, 15882, 15879, 15876, 15873, 15867, 15864, 15861, 15858, 15852, 15849, 15846, 15843, 15837, 15834, 15831, 15828, 15822, 15819, 15816, 15813, 15807, 15804, 15801, 15798, 15792, 15789, 15786, 15783, 15777, 15774, 15771, 15768, 15762, 15759, 15756, 15753, 15747, 15744, 15741, 15738, 15732, 15729, 15726, 15723, 15717, 15714, 15711, 15708, 15702, 15699, 15696, 15693, 15687, 15684, 15681, 15678, 15672, 15669, 15666, 15663, 15657, 15654, 15651, 15648, 15642, 15639, 15636, 15633, 15627, 15624, 15621, 15618, 15612, 15609, 15606, 15603, 15597, 15594, 15591, 15588, 15582, 15579, 15576, 15573, 15567, 15564, 15561, 15558, 15552, 15549, 15546, 15543, 15537, 15534, 15531, 15528, 15522, 15519, 15516, 15513, 15507, 15504, 15501, 15498, 15492, 15489, 15486, 15483, 15477, 15474, 15471, 15468, 15462, 15459, 15456, 15453, 15447, 15444, 15441, 15438, 15432, 15429, 15426, 15423, 15417, 15414, 15411, 15408, 15402, 15399, 15396, 15393, 15387, 15384, 15381, 15378, 15372, 15369, 15366, 15363, 15357, 15354, 15351, 15348, 15342, 15339, 15336, 15333, 15327, 15324, 15321, 15318, 15312, 15309, 15306, 15303, 15297, 15294, 15291, 15288, 15282, 15279, 15276, 15273, 15267, 15264, 15261, 15258, 15252, 15249, 15246, 15243, 15237, 15234, 15231, 15228, 15222, 15219, 15216, 15213, 15207, 15204, 15201, 15198, 15192, 15189, 15186, 15183, 15177, 15174, 15171, 15168, 15162, 15159, 15156, 15153, 15147, 15144, 15141, 15138, 15132, 15129, 15126, 15123, 15117, 15114, 15111, 15108, 15102, 15099, 15096, 15093, 15087, 15084, 15081, 15078, 15072, 15069, 15066, 15063, 15057, 15054, 15051, 15048, 15042, 15039, 15036, 15033, 15027, 15024, 15021, 15018, 15012, 15009, 15006, 15003, 14997, 14994, 14991, 14988, 14982, 14979, 14976, 14973, 14967, 14964, 14961, 14958, 14952, 14949, 14946, 14943, 14937, 14934, 14931, 14928, 14922, 14919, 14916, 14913, 14907, 14904, 14901, 14898, 14892, 14889, 14886, 14883, 14877, 14874, 14871, 14868, 14862, 14859, 14856, 14853, 14847, 14844, 14841, 14838, 14832, 14829, 14826, 14823, 14817, 14814, 14811, 14808, 14802, 14799, 14796, 14793, 14787, 14784, 14781, 14778, 14772, 14769, 14766, 14763, 14757, 14754, 14751, 14748, 14742, 14739, 14736, 14733, 14727, 14724, 14721, 14718, 14712, 14709, 14706, 14703, 14697, 14694, 14691, 14688, 14682, 14679, 14676, 14673, 14667, 14664, 14661, 14658, 14652, 14649, 14646, 14643, 14637, 14634, 14631, 14628, 14622, 14619, 14616, 14613, 14607, 14604, 14601, 14598, 14592, 14589, 14586, 14583, 14577, 14574, 14571, 14568, 14562, 14559, 14556, 14553, 14547, 14544, 14541, 14538, 14532, 14529, 14526, 14523, 14517, 14514, 14511, 14508, 14502, 14499, 14496, 14493, 14487, 14484, 14481, 14478, 14472, 14469, 14466, 14463, 14457, 14454, 14451, 14448, 14442, 14439, 14436, 14433, 14427, 14424, 14421, 14418, 14412, 14409, 14406, 14403, 14397, 14394, 14391, 14388, 14382, 14379, 14376, 14373, 14367, 14364, 14361, 14358, 14352, 14349, 14346, 14343, 14337, 14334, 14331, 14328, 14322, 14319, 14316, 14313, 14307, 14304, 14301, 14298, 14292, 14289, 14286, 14283, 14277, 14274, 14271, 14268, 14262, 14259, 14256, 14253, 14247, 14244, 14241, 14238, 14232, 14229, 14226, 14223, 14217, 14214, 14211, 14208, 14202, 14199, 14196, 14193, 14187, 14184, 14181, 14178, 14172, 14169, 14166, 14163, 14157, 14154, 14151, 14148, 14142, 14139, 14136, 14133, 14127, 14124, 14121, 14118, 14112, 14109, 14106, 14103, 14097, 14094, 14091, 14088, 14082, 14079, 14076, 14073, 14067, 14064, 14061, 14058, 14052, 14049, 14046, 14043, 14037, 14034, 14031, 14028, 14022, 14019, 14016, 14013, 14007, 14004, 14001, 13998, 13992, 13989, 13986, 13983, 13977, 13974, 13971, 13968, 13962, 13959, 13956, 13953, 13947, 13944, 13941, 13938, 13932, 13929, 13926, 13923, 13917, 13914, 13911, 13908, 13902, 13899, 13896, 13893, 13887, 13884, 13881, 13878, 13872, 13869, 13866, 13863, 13857, 13854, 13851, 13848, 13842, 13839, 13836, 13833, 13827, 13824, 13821, 13818, 13812, 13809, 13806, 13803, 13797, 13794, 13791, 13788, 13782, 13779, 13776, 13773, 13767, 13764, 13761, 13758, 13752, 13749, 13746, 13743, 13737, 13734, 13731, 13728, 13722, 13719, 13716, 13713, 13707, 13704, 13701, 13698, 13692, 13689, 13686, 13683, 13677, 13674, 13671, 13668, 13662, 13659, 13656, 13653, 13647, 13644, 13641, 13638, 13632, 13629, 13626, 13623, 13617, 13614, 13611, 13608, 13602, 13599, 13596, 13593, 13587, 13584, 13581, 13578, 13572, 13569, 13566, 13563, 13557, 13554, 13551, 13548, 13542, 13539, 13536, 13533, 13527, 13524, 13521, 13518, 13512, 13509, 13506, 13503, 13497, 13494, 13491, 13488, 13482, 13479, 13476, 13473, 13467, 13464, 13461, 13458, 13452, 13449, 13446, 13443, 13437, 13434, 13431, 13428, 13422, 13419, 13416, 13413, 13407, 13404, 13401, 13398, 13392, 13389, 13386, 13383, 13377, 13374, 13371, 13368, 13362, 13359, 13356, 13353, 13347, 13344, 13341, 13338, 13332, 13329, 13326, 13323, 13317, 13314, 13311, 13308, 13302, 13299, 13296, 13293, 13287, 13284, 13281, 13278, 13272, 13269, 13266, 13263, 13257, 13254, 13251, 13248, 13242, 13239, 13236, 13233, 13227, 13224, 13221, 13218, 13212, 13209, 13206, 13203, 13197, 13194, 13191, 13188, 13182, 13179, 13176, 13173, 13167, 13164, 13161, 13158, 13152, 13149, 13146, 13143, 13137, 13134, 13131, 13128, 13122, 13119, 13116, 13113, 13107, 13104, 13101, 13098, 13092, 13089, 13086, 13083, 13077, 13074, 13071, 13068, 13062, 13059, 13056, 13053, 13047, 13044, 13041, 13038, 13032, 13029, 13026, 13023, 13017, 13014, 13011, 13008, 13002, 12999, 12996, 12993, 12987, 12984, 12981, 12978, 12972, 12969, 12966, 12963, 12957, 12954, 12951, 12948, 12942, 12939, 12936, 12933, 12927, 12924, 12921, 12918, 12912, 12909, 12906, 12903, 12897, 12894, 12891, 12888, 12882, 12879, 12876, 12873, 12867, 12864, 12861, 12858, 12852, 12849, 12846, 12843, 12837, 12834, 12831, 12828, 12822, 12819, 12816, 12813, 12807, 12804, 12801, 12798, 12792, 12789, 12786, 12783, 12777, 12774, 12771, 12768, 12762, 12759, 12756, 12753, 12747, 12744, 12741, 12738, 12732, 12729, 12726, 12723, 12717, 12714, 12711, 12708, 12702, 12699, 12696, 12693, 12687, 12684, 12681, 12678, 12672, 12669, 12666, 12663, 12657, 12654, 12651, 12648, 12642, 12639, 12636, 12633, 12627, 12624, 12621, 12618, 12612, 12609, 12606, 12603, 12597, 12594, 12591, 12588, 12582, 12579, 12576, 12573, 12567, 12564, 12561, 12558, 12552, 12549, 12546, 12543, 12537, 12534, 12531, 12528, 12522, 12519, 12516, 12513, 12507, 12504, 12501, 12498, 12492, 12489, 12486, 12483, 12477, 12474, 12471, 12468, 12462, 12459, 12456, 12453, 12447, 12444, 12441, 12438, 12432, 12429, 12426, 12423, 12417, 12414, 12411, 12408, 12402, 12399, 12396, 12393, 12387, 12384, 12381, 12378, 12372, 12369, 12366, 12363, 12357, 12354, 12351, 12348, 12342, 12339, 12336, 12333, 12327, 12324, 12321, 12318, 12312, 12309, 12306, 12303, 12297, 12294, 12291, 12288, 12282, 12279, 12276, 12273, 12267, 12264, 12261, 12258, 12252, 12249, 12246, 12243, 12237, 12234, 12231, 12228, 12222, 12219, 12216, 12213, 12207, 12204, 12201, 12198, 12192, 12189, 12186, 12183, 12177, 12174, 12171, 12168, 12162, 12159, 12156, 12153, 12147, 12144, 12141, 12138, 12132, 12129, 12126, 12123, 12117, 12114, 12111, 12108, 12102, 12099, 12096, 12093, 12087, 12084, 12081, 12078, 12072, 12069, 12066, 12063, 12057, 12054, 12051, 12048, 12042, 12039, 12036, 12033, 12027, 12024, 12021, 12018, 12012, 12009, 12006, 12003, 11997, 11994, 11991, 11988, 11982, 11979, 11976, 11973, 11967, 11964, 11961, 11958, 11952, 11949, 11946, 11943, 11937, 11934, 11931, 11928, 11922, 11919, 11916, 11913, 11907, 11904, 11901, 11898, 11892, 11889, 11886, 11883, 11877, 11874, 11871, 11868, 11862, 11859, 11856, 11853, 11847, 11844, 11841, 11838, 11832, 11829, 11826, 11823, 11817, 11814, 11811, 11808, 11802, 11799, 11796, 11793, 11787, 11784, 11781, 11778, 11772, 11769, 11766, 11763, 11757, 11754, 11751, 11748, 11742, 11739, 11736, 11733, 11727, 11724, 11721, 11718, 11712, 11709, 11706, 11703, 11697, 11694, 11691, 11688, 11682, 11679, 11676, 11673, 11667, 11664, 11661, 11658, 11652, 11649, 11646, 11643, 11637, 11634, 11631, 11628, 11622, 11619, 11616, 11613, 11607, 11604, 11601, 11598, 11592, 11589, 11586, 11583, 11577, 11574, 11571, 11568, 11562, 11559, 11556, 11553, 11547, 11544, 11541, 11538, 11532, 11529, 11526, 11523, 11517, 11514, 11511, 11508, 11502, 11499, 11496, 11493, 11487, 11484, 11481, 11478, 11472, 11469, 11466, 11463, 11457, 11454, 11451, 11448, 11442, 11439, 11436, 11433, 11427, 11424, 11421, 11418, 11412, 11409, 11406, 11403, 11397, 11394, 11391, 11388, 11382, 11379, 11376, 11373, 11367, 11364, 11361, 11358, 11352, 11349, 11346, 11343, 11337, 11334, 11331, 11328, 11322, 11319, 11316, 11313, 11307, 11304, 11301, 11298, 11292, 11289, 11286, 11283, 11277, 11274, 11271, 11268, 11262, 11259, 11256, 11253, 11247, 11244, 11241, 11238, 11232, 11229, 11226, 11223, 11217, 11214, 11211, 11208, 11202, 11199, 11196, 11193, 11187, 11184, 11181, 11178, 11172, 11169, 11166, 11163, 11157, 11154, 11151, 11148, 11142, 11139, 11136, 11133, 11127, 11124, 11121, 11118, 11112, 11109, 11106, 11103, 11097, 11094, 11091, 11088, 11082, 11079, 11076, 11073, 11067, 11064, 11061, 11058, 11052, 11049, 11046, 11043, 11037, 11034, 11031, 11028, 11022, 11019, 11016, 11013, 11007, 11004, 11001, 10998, 10992, 10989, 10986, 10983, 10977, 10974, 10971, 10968, 10962, 10959, 10956, 10953, 10947, 10944, 10941, 10938, 10932, 10929, 10926, 10923, 10917, 10914, 10911, 10908, 10902, 10899, 10896, 10893, 10887, 10884, 10881, 10878, 10872, 10869, 10866, 10863, 10857, 10854, 10851, 10848, 10842, 10839, 10836, 10833, 10827, 10824, 10821, 10818, 10812, 10809, 10806, 10803, 10797, 10794, 10791, 10788, 10782, 10779, 10776, 10773, 10767, 10764, 10761, 10758, 10752, 10749, 10746, 10743, 10737, 10734, 10731, 10728, 10722, 10719, 10716, 10713, 10707, 10704, 10701, 10698, 10692, 10689, 10686, 10683, 10677, 10674, 10671, 10668, 10662, 10659, 10656, 10653, 10647, 10644, 10641, 10638, 10632, 10629, 10626, 10623, 10617, 10614, 10611, 10608, 10602, 10599, 10596, 10593, 10587, 10584, 10581, 10578, 10572, 10569, 10566, 10563, 10557, 10554, 10551, 10548, 10542, 10539, 10536, 10533, 10527, 10524, 10521, 10518, 10512, 10509, 10506, 10503, 10497, 10494, 10491, 10488, 10482, 10479, 10476, 10473, 10467, 10464, 10461, 10458, 10452, 10449, 10446, 10443, 10437, 10434, 10431, 10428, 10422, 10419, 10416, 10413, 10407, 10404, 10401, 10398, 10392, 10389, 10386, 10383, 10377, 10374, 10371, 10368, 10362, 10359, 10356, 10353, 10347, 10344, 10341, 10338, 10332, 10329, 10326, 10323, 10317, 10314, 10311, 10308, 10302, 10299, 10296, 10293, 10287, 10284, 10281, 10278, 10272, 10269, 10266, 10263, 10257, 10254, 10251, 10248, 10242, 10239, 10236, 10233, 10227, 10224, 10221, 10218, 10212, 10209, 10206, 10203, 10197, 10194, 10191, 10188, 10182, 10179, 10176, 10173, 10167, 10164, 10161, 10158, 10152, 10149, 10146, 10143, 10137, 10134, 10131, 10128, 10122, 10119, 10116, 10113, 10107, 10104, 10101, 10098, 10092, 10089, 10086, 10083, 10077, 10074, 10071, 10068, 10062, 10059, 10056, 10053, 10047, 10044, 10041, 10038, 10032, 10029, 10026, 10023, 10017, 10014, 10011, 10008, 10002, 9999, 9996, 9993, 9987, 9984, 9981, 9978, 9972, 9969, 9966, 9963, 9957, 9954, 9951, 9948, 9942, 9939, 9936, 9933, 9927, 9924, 9921, 9918, 9912, 9909, 9906, 9903, 9897, 9894, 9891, 9888, 9882, 9879, 9876, 9873, 9867, 9864, 9861, 9858, 9852, 9849, 9846, 9843, 9837, 9834, 9831, 9828, 9822, 9819, 9816, 9813, 9807, 9804, 9801, 9798, 9792, 9789, 9786, 9783, 9777, 9774, 9771, 9768, 9762, 9759, 9756, 9753, 9747, 9744, 9741, 9738, 9732, 9729, 9726, 9723, 9717, 9714, 9711, 9708, 9702, 9699, 9696, 9693, 9687, 9684, 9681, 9678, 9672, 9669, 9666, 9663, 9657, 9654, 9651, 9648, 9642, 9639, 9636, 9633, 9627, 9624, 9621, 9618, 9612, 9609, 9606, 9603, 9597, 9594, 9591, 9588, 9582, 9579, 9576, 9573, 9567, 9564, 9561, 9558, 9552, 9549, 9546, 9543, 9537, 9534, 9531, 9528, 9522, 9519, 9516, 9513, 9507, 9504, 9501, 9498, 9492, 9489, 9486, 9483, 9477, 9474, 9471, 9468, 9462, 9459, 9456, 9453, 9447, 9444, 9441, 9438, 9432, 9429, 9426, 9423, 9417, 9414, 9411, 9408, 9402, 9399, 9396, 9393, 9387, 9384, 9381, 9378, 9372, 9369, 9366, 9363, 9357, 9354, 9351, 9348, 9342, 9339, 9336, 9333, 9327, 9324, 9321, 9318, 9312, 9309, 9306, 9303, 9297, 9294, 9291, 9288, 9282, 9279, 9276, 9273, 9267, 9264, 9261, 9258, 9252, 9249, 9246, 9243, 9237, 9234, 9231, 9228, 9222, 9219, 9216, 9213, 9207, 9204, 9201, 9198, 9192, 9189, 9186, 9183, 9177, 9174, 9171, 9168, 9162, 9159, 9156, 9153, 9147, 9144, 9141, 9138, 9132, 9129, 9126, 9123, 9117, 9114, 9111, 9108, 9102, 9099, 9096, 9093, 9087, 9084, 9081, 9078, 9072, 9069, 9066, 9063, 9057, 9054, 9051, 9048, 9042, 9039, 9036, 9033, 9027, 9024, 9021, 9018, 9012, 9009, 9006, 9003, 8997, 8994, 8991, 8988, 8982, 8979, 8976, 8973, 8967, 8964, 8961, 8958, 8952, 8949, 8946, 8943, 8937, 8934, 8931, 8928, 8922, 8919, 8916, 8913, 8907, 8904, 8901, 8898, 8892, 8889, 8886, 8883, 8877, 8874, 8871, 8868, 8862, 8859, 8856, 8853, 8847, 8844, 8841, 8838, 8832, 8829, 8826, 8823, 8817, 8814, 8811, 8808, 8802, 8799, 8796, 8793, 8787, 8784, 8781, 8778, 8772, 8769, 8766, 8763, 8757, 8754, 8751, 8748, 8742, 8739, 8736, 8733, 8727, 8724, 8721, 8718, 8712, 8709, 8706, 8703, 8697, 8694, 8691, 8688, 8682, 8679, 8676, 8673, 8667, 8664, 8661, 8658, 8652, 8649, 8646, 8643, 8637, 8634, 8631, 8628, 8622, 8619, 8616, 8613, 8607, 8604, 8601, 8598, 8592, 8589, 8586, 8583, 8577, 8574, 8571, 8568, 8562, 8559, 8556, 8553, 8547, 8544, 8541, 8538, 8532, 8529, 8526, 8523, 8517, 8514, 8511, 8508, 8502, 8499, 8496, 8493, 8487, 8484, 8481, 8478, 8472, 8469, 8466, 8463, 8457, 8454, 8451, 8448, 8442, 8439, 8436, 8433, 8427, 8424, 8421, 8418, 8412, 8409, 8406, 8403, 8397, 8394, 8391, 8388, 8382, 8379, 8376, 8373, 8367, 8364, 8361, 8358, 8352, 8349, 8346, 8343, 8337, 8334, 8331, 8328, 8322, 8319, 8316, 8313, 8307, 8304, 8301, 8298, 8292, 8289, 8286, 8283, 8277, 8274, 8271, 8268, 8262, 8259, 8256, 8253, 8247, 8244, 8241, 8238, 8232, 8229, 8226, 8223, 8217, 8214, 8211, 8208, 8202, 8199, 8196, 8193, 8187, 8184, 8181, 8178, 8172, 8169, 8166, 8163, 8157, 8154, 8151, 8148, 8142, 8139, 8136, 8133, 8127, 8124, 8121, 8118, 8112, 8109, 8106, 8103, 8097, 8094, 8091, 8088, 8082, 8079, 8076, 8073, 8067, 8064, 8061, 8058, 8052, 8049, 8046, 8043, 8037, 8034, 8031, 8028, 8022, 8019, 8016, 8013, 8007, 8004, 8001, 7998, 7992, 7989, 7986, 7983, 7977, 7974, 7971, 7968, 7962, 7959, 7956, 7953, 7947, 7944, 7941, 7938, 7932, 7929, 7926, 7923, 7917, 7914, 7911, 7908, 7902, 7899, 7896, 7893, 7887, 7884, 7881, 7878, 7872, 7869, 7866, 7863, 7857, 7854, 7851, 7848, 7842, 7839, 7836, 7833, 7827, 7824, 7821, 7818, 7812, 7809, 7806, 7803, 7797, 7794, 7791, 7788, 7782, 7779, 7776, 7773, 7767, 7764, 7761, 7758, 7752, 7749, 7746, 7743, 7737, 7734, 7731, 7728, 7722, 7719, 7716, 7713, 7707, 7704, 7701, 7698, 7692, 7689, 7686, 7683, 7677, 7674, 7671, 7668, 7662, 7659, 7656, 7653, 7647, 7644, 7641, 7638, 7632, 7629, 7626, 7623, 7617, 7614, 7611, 7608, 7602, 7599, 7596, 7593, 7587, 7584, 7581, 7578, 7572, 7569, 7566, 7563, 7557, 7554, 7551, 7548, 7542, 7539, 7536, 7533, 7527, 7524, 7521, 7518, 7512, 7509, 7506, 7503, 7497, 7494, 7491, 7488, 7482, 7479, 7476, 7473, 7467, 7464, 7461, 7458, 7452, 7449, 7446, 7443, 7437, 7434, 7431, 7428, 7422, 7419, 7416, 7413, 7407, 7404, 7401, 7398, 7392, 7389, 7386, 7383, 7377, 7374, 7371, 7368, 7362, 7359, 7356, 7353, 7347, 7344, 7341, 7338, 7332, 7329, 7326, 7323, 7317, 7314, 7311, 7308, 7302, 7299, 7296, 7293, 7287, 7284, 7281, 7278, 7272, 7269, 7266, 7263, 7257, 7254, 7251, 7248, 7242, 7239, 7236, 7233, 7227, 7224, 7221, 7218, 7212, 7209, 7206, 7203, 7197, 7194, 7191, 7188, 7182, 7179, 7176, 7173, 7167, 7164, 7161, 7158, 7152, 7149, 7146, 7143, 7137, 7134, 7131, 7128, 7122, 7119, 7116, 7113, 7107, 7104, 7101, 7098, 7092, 7089, 7086, 7083, 7077, 7074, 7071, 7068, 7062, 7059, 7056, 7053, 7047, 7044, 7041, 7038, 7032, 7029, 7026, 7023, 7017, 7014, 7011, 7008, 7002, 6999, 6996, 6993, 6987, 6984, 6981, 6978, 6972, 6969, 6966, 6963, 6957, 6954, 6951, 6948, 6942, 6939, 6936, 6933, 6927, 6924, 6921, 6918, 6912, 6909, 6906, 6903, 6897, 6894, 6891, 6888, 6882, 6879, 6876, 6873, 6867, 6864, 6861, 6858, 6852, 6849, 6846, 6843, 6837, 6834, 6831, 6828, 6822, 6819, 6816, 6813, 6807, 6804, 6801, 6798, 6792, 6789, 6786, 6783, 6777, 6774, 6771, 6768, 6762, 6759, 6756, 6753, 6747, 6744, 6741, 6738, 6732, 6729, 6726, 6723, 6717, 6714, 6711, 6708, 6702, 6699, 6696, 6693, 6687, 6684, 6681, 6678, 6672, 6669, 6666, 6663, 6657, 6654, 6651, 6648, 6642, 6639, 6636, 6633, 6627, 6624, 6621, 6618, 6612, 6609, 6606, 6603, 6597, 6594, 6591, 6588, 6582, 6579, 6576, 6573, 6567, 6564, 6561, 6558, 6552, 6549, 6546, 6543, 6537, 6534, 6531, 6528, 6522, 6519, 6516, 6513, 6507, 6504, 6501, 6498, 6492, 6489, 6486, 6483, 6477, 6474, 6471, 6468, 6462, 6459, 6456, 6453, 6447, 6444, 6441, 6438, 6432, 6429, 6426, 6423, 6417, 6414, 6411, 6408, 6402, 6399, 6396, 6393, 6387, 6384, 6381, 6378, 6372, 6369, 6366, 6363, 6357, 6354, 6351, 6348, 6342, 6339, 6336, 6333, 6327, 6324, 6321, 6318, 6312, 6309, 6306, 6303, 6297, 6294, 6291, 6288, 6282, 6279, 6276, 6273, 6267, 6264, 6261, 6258, 6252, 6249, 6246, 6243, 6237, 6234, 6231, 6228, 6222, 6219, 6216, 6213, 6207, 6204, 6201, 6198, 6192, 6189, 6186, 6183, 6177, 6174, 6171, 6168, 6162, 6159, 6156, 6153, 6147, 6144, 6141, 6138, 6132, 6129, 6126, 6123, 6117, 6114, 6111, 6108, 6102, 6099, 6096, 6093, 6087, 6084, 6081, 6078, 6072, 6069, 6066, 6063, 6057, 6054, 6051, 6048, 6042, 6039, 6036, 6033, 6027, 6024, 6021, 6018, 6012, 6009, 6006, 6003, 5997, 5994, 5991, 5988, 5982, 5979, 5976, 5973, 5967, 5964, 5961, 5958, 5952, 5949, 5946, 5943, 5937, 5934, 5931, 5928, 5922, 5919, 5916, 5913, 5907, 5904, 5901, 5898, 5892, 5889, 5886, 5883, 5877, 5874, 5871, 5868, 5862, 5859, 5856, 5853, 5847, 5844, 5841, 5838, 5832, 5829, 5826, 5823, 5817, 5814, 5811, 5808, 5802, 5799, 5796, 5793, 5787, 5784, 5781, 5778, 5772, 5769, 5766, 5763, 5757, 5754, 5751, 5748, 5742, 5739, 5736, 5733, 5727, 5724, 5721, 5718, 5712, 5709, 5706, 5703, 5697, 5694, 5691, 5688, 5682, 5679, 5676, 5673, 5667, 5664, 5661, 5658, 5652, 5649, 5646, 5643, 5637, 5634, 5631, 5628, 5622, 5619, 5616, 5613, 5607, 5604, 5601, 5598, 5592, 5589, 5586, 5583, 5577, 5574, 5571, 5568, 5562, 5559, 5556, 5553, 5547, 5544, 5541, 5538, 5532, 5529, 5526, 5523, 5517, 5514, 5511, 5508, 5502, 5499, 5496, 5493, 5487, 5484, 5481, 5478, 5472, 5469, 5466, 5463, 5457, 5454, 5451, 5448, 5442, 5439, 5436, 5433, 5427, 5424, 5421, 5418, 5412, 5409, 5406, 5403, 5397, 5394, 5391, 5388, 5382, 5379, 5376, 5373, 5367, 5364, 5361, 5358, 5352, 5349, 5346, 5343, 5337, 5334, 5331, 5328, 5322, 5319, 5316, 5313, 5307, 5304, 5301, 5298, 5292, 5289, 5286, 5283, 5277, 5274, 5271, 5268, 5262, 5259, 5256, 5253, 5247, 5244, 5241, 5238, 5232, 5229, 5226, 5223, 5217, 5214, 5211, 5208, 5202, 5199, 5196, 5193, 5187, 5184, 5181, 5178, 5172, 5169, 5166, 5163, 5157, 5154, 5151, 5148, 5142, 5139, 5136, 5133, 5127, 5124, 5121, 5118, 5112, 5109, 5106, 5103, 5097, 5094, 5091, 5088, 5082, 5079, 5076, 5073, 5067, 5064, 5061, 5058, 5052, 5049, 5046, 5043, 5037, 5034, 5031, 5028, 5022, 5019, 5016, 5013, 5007, 5004, 5001, 4998, 4992, 4989, 4986, 4983, 4977, 4974, 4971, 4968, 4962, 4959, 4956, 4953, 4947, 4944, 4941, 4938, 4932, 4929, 4926, 4923, 4917, 4914, 4911, 4908, 4902, 4899, 4896, 4893, 4887, 4884, 4881, 4878, 4872, 4869, 4866, 4863, 4857, 4854, 4851, 4848, 4842, 4839, 4836, 4833, 4827, 4824, 4821, 4818, 4812, 4809, 4806, 4803, 4797, 4794, 4791, 4788, 4782, 4779, 4776, 4773, 4767, 4764, 4761, 4758, 4752, 4749, 4746, 4743, 4737, 4734, 4731, 4728, 4722, 4719, 4716, 4713, 4707, 4704, 4701, 4698, 4692, 4689, 4686, 4683, 4677, 4674, 4671, 4668, 4662, 4659, 4656, 4653, 4647, 4644, 4641, 4638, 4632, 4629, 4626, 4623, 4617, 4614, 4611, 4608, 4602, 4599, 4596, 4593, 4587, 4584, 4581, 4578, 4572, 4569, 4566, 4563, 4557, 4554, 4551, 4548, 4542, 4539, 4536, 4533, 4527, 4524, 4521, 4518, 4512, 4509, 4506, 4503, 4497, 4494, 4491, 4488, 4482, 4479, 4476, 4473, 4467, 4464, 4461, 4458, 4452, 4449, 4446, 4443, 4437, 4434, 4431, 4428, 4422, 4419, 4416, 4413, 4407, 4404, 4401, 4398, 4392, 4389, 4386, 4383, 4377, 4374, 4371, 4368, 4362, 4359, 4356, 4353, 4347, 4344, 4341, 4338, 4332, 4329, 4326, 4323, 4317, 4314, 4311, 4308, 4302, 4299, 4296, 4293, 4287, 4284, 4281, 4278, 4272, 4269, 4266, 4263, 4257, 4254, 4251, 4248, 4242, 4239, 4236, 4233, 4227, 4224, 4221, 4218, 4212, 4209, 4206, 4203, 4197, 4194, 4191, 4188, 4182, 4179, 4176, 4173, 4167, 4164, 4161, 4158, 4152, 4149, 4146, 4143, 4137, 4134, 4131, 4128, 4122, 4119, 4116, 4113, 4107, 4104, 4101, 4098, 4092, 4089, 4086, 4083, 4077, 4074, 4071, 4068, 4062, 4059, 4056, 4053, 4047, 4044, 4041, 4038, 4032, 4029, 4026, 4023, 4017, 4014, 4011, 4008, 4002, 3999, 3996, 3993, 3987, 3984, 3981, 3978, 3972, 3969, 3966, 3963, 3957, 3954, 3951, 3948, 3942, 3939, 3936, 3933, 3927, 3924, 3921, 3918, 3912, 3909, 3906, 3903, 3897, 3894, 3891, 3888, 3882, 3879, 3876, 3873, 3867, 3864, 3861, 3858, 3852, 3849, 3846, 3843, 3837, 3834, 3831, 3828, 3822, 3819, 3816, 3813, 3807, 3804, 3801, 3798, 3792, 3789, 3786, 3783, 3777, 3774, 3771, 3768, 3762, 3759, 3756, 3753, 3747, 3744, 3741, 3738, 3732, 3729, 3726, 3723, 3717, 3714, 3711, 3708, 3702, 3699, 3696, 3693, 3687, 3684, 3681, 3678, 3672, 3669, 3666, 3663, 3657, 3654, 3651, 3648, 3642, 3639, 3636, 3633, 3627, 3624, 3621, 3618, 3612, 3609, 3606, 3603, 3597, 3594, 3591, 3588, 3582, 3579, 3576, 3573, 3567, 3564, 3561, 3558, 3552, 3549, 3546, 3543, 3537, 3534, 3531, 3528, 3522, 3519, 3516, 3513, 3507, 3504, 3501, 3498, 3492, 3489, 3486, 3483, 3477, 3474, 3471, 3468, 3462, 3459, 3456, 3453, 3447, 3444, 3441, 3438, 3432, 3429, 3426, 3423, 3417, 3414, 3411, 3408, 3402, 3399, 3396, 3393, 3387, 3384, 3381, 3378, 3372, 3369, 3366, 3363, 3357, 3354, 3351, 3348, 3342, 3339, 3336, 3333, 3327, 3324, 3321, 3318, 3312, 3309, 3306, 3303, 3297, 3294, 3291, 3288, 3282, 3279, 3276, 3273, 3267, 3264, 3261, 3258, 3252, 3249, 3246, 3243, 3237, 3234, 3231, 3228, 3222, 3219, 3216, 3213, 3207, 3204, 3201, 3198, 3192, 3189, 3186, 3183, 3177, 3174, 3171, 3168, 3162, 3159, 3156, 3153, 3147, 3144, 3141, 3138, 3132, 3129, 3126, 3123, 3117, 3114, 3111, 3108, 3102, 3099, 3096, 3093, 3087, 3084, 3081, 3078, 3072, 3069, 3066, 3063, 3057, 3054, 3051, 3048, 3042, 3039, 3036, 3033, 3027, 3024, 3021, 3018, 3012, 3009, 3006, 3003, 2997, 2994, 2991, 2988, 2982, 2979, 2976, 2973, 2967, 2964, 2961, 2958, 2952, 2949, 2946, 2943, 2937, 2934, 2931, 2928, 2922, 2919, 2916, 2913, 2907, 2904, 2901, 2898, 2892, 2889, 2886, 2883, 2877, 2874, 2871, 2868, 2862, 2859, 2856, 2853, 2847, 2844, 2841, 2838, 2832, 2829, 2826, 2823, 2817, 2814, 2811, 2808, 2802, 2799, 2796, 2793, 2787, 2784, 2781, 2778, 2772, 2769, 2766, 2763, 2757, 2754, 2751, 2748, 2742, 2739, 2736, 2733, 2727, 2724, 2721, 2718, 2712, 2709, 2706, 2703, 2697, 2694, 2691, 2688, 2682, 2679, 2676, 2673, 2667, 2664, 2661, 2658, 2652, 2649, 2646, 2643, 2637, 2634, 2631, 2628, 2622, 2619, 2616, 2613, 2607, 2604, 2601, 2598, 2592, 2589, 2586, 2583, 2577, 2574, 2571, 2568, 2562, 2559, 2556, 2553, 2547, 2544, 2541, 2538, 2532, 2529, 2526, 2523, 2517, 2514, 2511, 2508, 2502, 2499, 2496, 2493, 2487, 2484, 2481, 2478, 2472, 2469, 2466, 2463, 2457, 2454, 2451, 2448, 2442, 2439, 2436, 2433, 2427, 2424, 2421, 2418, 2412, 2409, 2406, 2403, 2397, 2394, 2391, 2388, 2382, 2379, 2376, 2373, 2367, 2364, 2361, 2358, 2352, 2349, 2346, 2343, 2337, 2334, 2331, 2328, 2322, 2319, 2316, 2313, 2307, 2304, 2301, 2298, 2292, 2289, 2286, 2283, 2277, 2274, 2271, 2268, 2262, 2259, 2256, 2253, 2247, 2244, 2241, 2238, 2232, 2229, 2226, 2223, 2217, 2214, 2211, 2208, 2202, 2199, 2196, 2193, 2187, 2184, 2181, 2178, 2172, 2169, 2166, 2163, 2157, 2154, 2151, 2148, 2142, 2139, 2136, 2133, 2127, 2124, 2121, 2118, 2112, 2109, 2106, 2103, 2097, 2094, 2091, 2088, 2082, 2079, 2076, 2073, 2067, 2064, 2061, 2058, 2052, 2049, 2046, 2043, 2037, 2034, 2031, 2028, 2022, 2019, 2016, 2013, 2007, 2004, 2001, 1998, 1992, 1989, 1986, 1983, 1977, 1974, 1971, 1968, 1962, 1959, 1956, 1953, 1947, 1944, 1941, 1938, 1932, 1929, 1926, 1923, 1917, 1914, 1911, 1908, 1902, 1899, 1896, 1893, 1887, 1884, 1881, 1878, 1872, 1869, 1866, 1863, 1857, 1854, 1851, 1848, 1842, 1839, 1836, 1833, 1827, 1824, 1821, 1818, 1812, 1809, 1806, 1803, 1797, 1794, 1791, 1788, 1782, 1779, 1776, 1773, 1767, 1764, 1761, 1758, 1752, 1749, 1746, 1743, 1737, 1734, 1731, 1728, 1722, 1719, 1716, 1713, 1707, 1704, 1701, 1698, 1692, 1689, 1686, 1683, 1677, 1674, 1671, 1668, 1662, 1659, 1656, 1653, 1647, 1644, 1641, 1638, 1632, 1629, 1626, 1623, 1617, 1614, 1611, 1608, 1602, 1599, 1596, 1593, 1587, 1584, 1581, 1578, 1572, 1569, 1566, 1563, 1557, 1554, 1551, 1548, 1542, 1539, 1536, 1533, 1527, 1524, 1521, 1518, 1512, 1509, 1506, 1503, 1497, 1494, 1491, 1488, 1482, 1479, 1476, 1473, 1467, 1464, 1461, 1458, 1452, 1449, 1446, 1443, 1437, 1434, 1431, 1428, 1422, 1419, 1416, 1413, 1407, 1404, 1401, 1398, 1392, 1389, 1386, 1383, 1377, 1374, 1371, 1368, 1362, 1359, 1356, 1353, 1347, 1344, 1341, 1338, 1332, 1329, 1326, 1323, 1317, 1314, 1311, 1308, 1302, 1299, 1296, 1293, 1287, 1284, 1281, 1278, 1272, 1269, 1266, 1263, 1257, 1254, 1251, 1248, 1242, 1239, 1236, 1233, 1227, 1224, 1221, 1218, 1212, 1209, 1206, 1203, 1197, 1194, 1191, 1188, 1182, 1179, 1176, 1173, 1167, 1164, 1161, 1158, 1152, 1149, 1146, 1143, 1137, 1134, 1131, 1128, 1122, 1119, 1116, 1113, 1107, 1104, 1101, 1098, 1092, 1089, 1086, 1083, 1077, 1074, 1071, 1068, 1062, 1059, 1056, 1053, 1047, 1044, 1041, 1038, 1032, 1029, 1026, 1023, 1017, 1014, 1011, 1008, 1002, 999, 996, 993, 987, 984, 981, 978, 972, 969, 966, 963, 957, 954, 951, 948, 942, 939, 936, 933, 927, 924, 921, 918, 912, 909, 906, 903, 897, 894, 891, 888, 882, 879, 876, 873, 867, 864, 861, 858, 852, 849, 846, 843, 837, 834, 831, 828, 822, 819, 816, 813, 807, 804, 801, 798, 792, 789, 786, 783, 777, 774, 771, 768, 762, 759, 756, 753, 747, 744, 741, 738, 732, 729, 726, 723, 717, 714, 711, 708, 702, 699, 696, 693, 687, 684, 681, 678, 672, 669, 666, 663, 657, 654, 651, 648, 642, 639, 636, 633, 627, 624, 621, 618, 612, 609, 606, 603, 597, 594, 591, 588, 582, 579, 576, 573, 567, 564, 561, 558, 552, 549, 546, 543, 537, 534, 531, 528, 522, 519, 516, 513, 507, 504, 501, 498, 492, 489, 486, 483, 477, 474, 471, 468, 462, 459, 456, 453, 447, 444, 441, 438, 432, 429, 426, 423, 417, 414, 411, 408, 402, 399, 396, 393, 387, 384, 381, 378, 372, 369, 366, 363, 357, 354, 351, 348, 342, 339, 336, 333, 327, 324, 321, 318, 312, 309, 306, 303, 297, 294, 291, 288, 282, 279, 276, 273, 267, 264, 261, 258, 252, 249, 246, 243, 237, 234, 231, 228, 222, 219, 216, 213, 207, 204, 201, 198, 192, 189, 186, 183, 177, 174, 171, 168, 162, 159, 156, 153, 147, 144, 141, 138, 132, 129, 126, 123, 117, 114, 111, 108, 102, 99, 96, 93, 87, 84, 81, 78, 72, 69, 66, 63, 57, 54, 51, 48, 42, 39, 36, 33, 27, 24, 21, 18, 12, 9, 6, 3]\n"
     ]
    }
   ],
   "source": [
    "nums = [num for num in range(1, 20001) if num % 3 == 0 and num % 5 != 0]\n",
    "print(nums[:10]) # first 10 numbers\n",
    "print(nums[-5:])# last 5 numbers\n",
    "print(nums[::2])# numbers in even index\n",
    "print(sorted(nums, reverse = True))# reverse list"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "collapsed": true
   },
   "source": [
    "### -19.定义一个函数，完成一个小任务：对于给定的银行定期利率(输入)，计算多少年后可以连本带息翻番。\n",
    "\n",
    "代码如下："
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 24,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "3 years\n"
     ]
    }
   ],
   "source": [
    "def helper(rates):\n",
    "    n = 1\n",
    "    while True:\n",
    "        if (1 + rates) ** n >= 2:\n",
    "            break\n",
    "        n += 1\n",
    "    print (n, \"years\")\n",
    "\n",
    "helper(0.26)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "collapsed": true
   },
   "source": [
    "### - 20.九九乘法表\n",
    "\n",
    "代码如下："
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 25,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1x1=1\t\n",
      "2x1=2\t2x2=4\t\n",
      "3x1=3\t3x2=6\t3x3=9\t\n",
      "4x1=4\t4x2=8\t4x3=12\t4x4=16\t\n",
      "5x1=5\t5x2=10\t5x3=15\t5x4=20\t5x5=25\t\n",
      "6x1=6\t6x2=12\t6x3=18\t6x4=24\t6x5=30\t6x6=36\t\n",
      "7x1=7\t7x2=14\t7x3=21\t7x4=28\t7x5=35\t7x6=42\t7x7=49\t\n",
      "8x1=8\t8x2=16\t8x3=24\t8x4=32\t8x5=40\t8x6=48\t8x7=56\t8x8=64\t\n",
      "9x1=9\t9x2=18\t9x3=27\t9x4=36\t9x5=45\t9x6=54\t9x7=63\t9x8=72\t9x9=81\t\n"
     ]
    }
   ],
   "source": [
    "# 九九乘法表\n",
    "for i in range(1, 10):\n",
    "        for j in range(1, i+1):\n",
    "            print('{}x{}={}\\t'.format(i, j, i*j), end='')\n",
    "        print()"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.6.5"
  },
  "toc": {
   "base_numbering": 1,
   "nav_menu": {},
   "number_sections": true,
   "sideBar": true,
   "skip_h1_title": false,
   "title_cell": "Table of Contents",
   "title_sidebar": "Contents",
   "toc_cell": false,
   "toc_position": {},
   "toc_section_display": true,
   "toc_window_display": true
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
